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

Gaetan Bisson bisson at archlinux.org
Mon Jun 13 12:19:27 UTC 2011


    Date: Monday, June 13, 2011 @ 08:19:27
  Author: bisson
Revision: 127354

build against libmtp 1.1.0

Modified:
  audacious-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-13 11:09:32 UTC (rev 127353)
+++ PKGBUILD	2011-06-13 12:19:27 UTC (rev 127354)
@@ -5,7 +5,7 @@
 
 pkgname=audacious-plugins
 pkgver=2.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Plugins for Audacious'
 arch=('i686' 'x86_64')
 url='http://audacious-media-player.org/'
@@ -40,27 +40,26 @@
             'libmms: libmms-based mms transport'
             'libcue: CUE playlist format')
 
-source=("http://distfiles.atheme.org/$pkgname-$pkgver.tgz")
+source=("http://distfiles.atheme.org/${pkgname}-${pkgver}.tgz")
 sha1sums=('e25f92aa2e2a281166620017006a3becdcfb2d89')
 
 build() {
-	cd "$srcdir/$pkgname-$pkgver"
+	cd "${srcdir}/${pkgname}-${pkgver}"
 
 	sed 's/libavcore >= 0.12.0//g' -i configure # FS#23549
 
-	[[ $CARCH == x86_64 ]] && extraopts='' || extraopts='--disable-sse2'
+	[[ ${CARCH} == x86_64 ]] && extraopts='' || extraopts='--disable-sse2'
 	./configure \
 		--prefix=/usr \
 		--enable-chardet \
 		--enable-amidiplug \
 		--disable-adplug \
-		$extraopts \
-		--disable-projectm # no support for projectm-2.0.1, cf. FS#21344
-		                   # would require libvisual-projectm in make/optdeps
+		${extraopts} \
+
 	make
 }
 
 package() {
-	cd "$srcdir/$pkgname-$pkgver"
-	make DESTDIR="$pkgdir" install
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list