summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38a7384729af38b69a74d123a3fdca6f33b48a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Peter Mattern <pmattern at arcor dot de>

_pkgname=pavucontrol
pkgname=$_pkgname-compact-git
pkgver=33bc9f4
pkgrel=1
pkgdesc="A GTK volume control for PulseAudio. Compact fork."
arch=("i686" "x86_64")
url="http://freedesktop.org/software/pulseaudio/pavucontrol/"
license=("GPL")
depends=("gtkmm3" "libcanberra-pulse")
optdepends=("pulseaudio")
makedepends=("git" "intltool" "lynx")
provides=("$_pkgname" "$_pkgname-git" "$pkgname")
conflicts=("$_pkgname" "$_pkgname-git" "$pkgname")
source=("git://github.com/rafalcieslak/pavucontrol")
sha256sums=("SKIP")

pkgver() {
	cd "$srcdir/$_pkgname"
	git describe --always | sed 's/^v//;s/-/./g'
}

build() {
	cd "$_pkgname"
        ./autogen.sh --prefix=/usr
	make
}

package() {
	cd "$_pkgname"
	make DESTDIR="$pkgdir" install
}