diff options
Diffstat (limited to 'extra/paprefs/PKGBUILD')
-rw-r--r-- | extra/paprefs/PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/extra/paprefs/PKGBUILD b/extra/paprefs/PKGBUILD index 6be68601b..8c8167e3f 100644 --- a/extra/paprefs/PKGBUILD +++ b/extra/paprefs/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 142425 2011-11-09 11:00:22Z heftig $ -# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> +# $Id: PKGBUILD 215877 2014-06-30 19:06:16Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Corrado Primier <bardo@aur.archlinux.org> # Contributor: William Rea <sillywilly@gmail.com> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=paprefs pkgver=0.9.10 -pkgrel=2 +pkgrel=3 pkgdesc="A simple GTK-based configuration dialog for PulseAudio" arch=(i686 x86_64) url="http://0pointer.de/lennart/projects/paprefs" @@ -19,17 +19,19 @@ sha256sums=('261c5a67543f2d0c019894fb933949f6ee7c5e181808e1e9565f0784961eabb0' '5cdd6cffb08d611451f01b34b08b316fb14cbd14b283bf5d180b8dcde11fa46b' '00fd4b14e81d90ac6d74e6eb689fa4e20e1a2fbc2eefbb440a11b1373e115a9d') +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i "../do-not-require-recompile.patch" +} + build() { - cd "$srcdir/$pkgname-$pkgver" - patch -Np1 -i "$srcdir/do-not-require-recompile.patch" + cd $pkgname-$pkgver ./configure --prefix=/usr --disable-lynx make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install - - install -Dm644 "$srcdir/paprefs.desktop" \ - "$pkgdir/usr/share/applications/paprefs.desktop" + install -Dm644 ../paprefs.desktop "$pkgdir/usr/share/applications/paprefs.desktop" } |