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

Daniel Griffiths dgriffiths at archlinux.org
Mon Apr 12 02:21:14 UTC 2010


    Date: Sunday, April 11, 2010 @ 22:21:13
  Author: dgriffiths
Revision: 77340

Adopted, move to splitpkg format

Modified:
  moc/trunk/PKGBUILD

----------+
 PKGBUILD |   37 ++++++++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-12 02:18:45 UTC (rev 77339)
+++ PKGBUILD	2010-04-12 02:21:13 UTC (rev 77340)
@@ -1,6 +1,7 @@
 # $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
 # Contributor: dorphell <dorphell at gmx.net>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=moc
 pkgver=2.5.0_alpha4
@@ -11,22 +12,32 @@
 license=('GPL')
 depends=('libmad' 'libid3tag' 'jack-audio-connection-kit' 'curl' 'libsamplerate' 'libtool')
 makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug')
-optdepends=('speex: for using the speex plugin' 'ffmpeg: for using the ffmpeg plugin' \
-            'taglib: for using the musepack plugin' 'libmpcdec: for using the musepack plugin' \
-            'wavpack: for using the wavpack plugin' 'libmodplug: for using the modplug plugin')
+optdepends=('speex: for using the speex plugin' 
+	    'ffmpeg: for using the ffmpeg plugin'
+	    'taglib: for using the musepack plugin' 
+	    'libmpcdec: for using the musepack plugin' 
+            'wavpack: for using the wavpack plugin' 
+	    'libmodplug: for using the modplug plugin')
 options=('!libtool')
 source=(ftp://ftp.daper.net/pub/soft/moc/unstable/${pkgname}-${pkgver/_/-}.tar.bz2)
 md5sums=('2dd0cb6481d77fda09c58ec3154a21c0')
 sha1sums=('ca55b3bed0f3f3f352ca43078208ab63e20f40fc')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver/_/-}"
-  sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' decoder_plugins/ffmpeg/ffmpeg.c || return 1
-# Disabling aac to use the external ffmpeg to play them (FS#13164)
-  ./configure --prefix=/usr --without-rcc --without-aac \
-    --with-oss  --with-alsa  --with-jack \
-    --with-mp3 --with-musepack --with-vorbis --with-flac --with-wavpack --with-sndfile  \
-    --with-modplug --with-ffmpeg --with-speex --with-samplerate --with-curl || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+	cd ${srcdir}/${pkgname}-${pkgver/_/-}
+
+	sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' decoder_plugins/ffmpeg/ffmpeg.c || return 1
+	# Disabling aac to use the external ffmpeg to play them (FS#13164)
+	./configure --prefix=/usr --without-rcc --without-aac \
+	    --with-oss  --with-alsa  --with-jack --with-mp3 \
+	    --with-musepack --with-vorbis --with-flac --with-wavpack \
+	    --with-sndfile --with-modplug --with-ffmpeg --with-speex \
+	    --with-samplerate --with-curl || return 1
+	make || return 1
 }
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver/_/-}
+
+	make DESTDIR=${pkgdir} install || return 1
+}




More information about the arch-commits mailing list