[arch-commits] Commit in audacious-plugins/trunk (PKGBUILD)

Gaetan Bisson bisson at archlinux.org
Wed Sep 8 20:34:44 UTC 2010


    Date: Wednesday, September 8, 2010 @ 16:34:44
  Author: bisson
Revision: 90192

upstream update

Modified:
  audacious-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-08 20:34:17 UTC (rev 90191)
+++ PKGBUILD	2010-09-08 20:34:44 UTC (rev 90192)
@@ -3,11 +3,11 @@
 # Contributor: William Rea <sillywilly at gmail.com>
 
 pkgname=audacious-plugins
-pkgver=2.3
+pkgver=2.4.0
 pkgrel=1
-pkgdesc="Plugins for Audacious"
+pkgdesc='Plugins for Audacious'
 arch=('i686' 'x86_64')
-url="http://audacious-media-player.org/"
+url='http://audacious-media-player.org/'
 license=('GPL')
 depends=('libmad' 'libvorbis')
 makedepends=('jack' 'lame' 'fluidsynth' 'libcdio' 'libsidplay' 'wavpack'
@@ -31,21 +31,18 @@
             'neon: HTTP transport plugin'
             'libmms: MMS transport plugin'
 	    'ffmpeg: for MPEG 4 Audio AAC')
-source=(http://distfiles.atheme.org/$pkgname-$pkgver.tgz)
+source=("http://distfiles.atheme.org/$pkgname-$pkgver.tgz")
+sha1sums=('bd59c31ffb439380fcfec028dcf10b49cb82ad5f')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+  [[ $CARCH == x86_64 ]] && extraopts='' || extraopts='--disable-sse2'
+  ./configure --prefix=/usr --disable-pulse --enable-chardet \
+    --enable-amidiplug --disable-adplug $extraopts
+  make
+}
 
-  if [[ $CARCH = "i686" ]]; then
-    ./configure --prefix=/usr --disable-esd --disable-pulse \
-      --enable-amidiplug --disable-adplug --enable-chardet \
-      --disable-sse2 || return 1
-  elif [[ $CARCH = "x86_64" ]]; then
-    ./configure --prefix=/usr --disable-esd --disable-pulse \
-      --enable-amidiplug --disable-adplug --enable-chardet || return 1
-  fi
-
-  make || return 1
-  make DESTDIR="$pkgdir" install || return 1
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 }
-sha256sums=('7da44d2aaccceea6ad838a8b677abd5f3e5e10ad168f6f478d3e5e2c4aacaa41')




More information about the arch-commits mailing list