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

Andrea Scarpino andrea at archlinux.org
Tue Jan 13 17:51:49 UTC 2009


    Date: Tuesday, January 13, 2009 @ 12:51:49
  Author: andrea
Revision: 24095

upgpkg: mpd 0.14-1

Modified:
  mpd/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++--------------
 1 file changed, 19 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-01-13 11:28:30 UTC (rev 24094)
+++ PKGBUILD	2009-01-13 17:51:49 UTC (rev 24095)
@@ -3,29 +3,34 @@
 # Contributor: Ben <ben at benmazer.net>
 
 pkgname=mpd
-pkgver=0.13.2
+pkgver=0.14
 pkgrel=1
 pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
 arch=('i686' 'x86_64')
-license=("GPL")
+license=('GPL')
 url="http://musicpd.org"
 depends=('libid3tag' 'libmad' 'flac>=1.1.3' 'audiofile' 'faad2>=2.6.1' 'libmikmod'
          'alsa-lib' 'libshout' 'libmpcdec>=1.2.5' 'libsamplerate' 'libao')
 install=mpd.install
-source=(http://musicpd.org/uploads/files/mpd-${pkgver}.tar.gz
-        mpd mpd.conf.example)
-md5sums=('33d0c7b08e2c9e2a6ad55703cb0d18d0' 'b1fd15de359db08e4b9ae4b199640f0e'\
-         'b3e370377d39d17427c50f04a0cdea6e')
+source=(http://downloads.sourceforge.net/musicpd/mpd-${pkgver}.tar.gz
+        'mpd' 'mpd.conf.example')
+md5sums=('4a4854e5998f4f0b226d541717aa4fa6'
+	'b1fd15de359db08e4b9ae4b199640f0e'
+	'b3e370377d39d17427c50f04a0cdea6e')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --sysconfdir=/etc --disable-jack --enable-ao -with-zeroconf=no
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --disable-jack \
+    --enable-ao \
+    -with-zeroconf=no
   make || return 1
-  make DESTDIR=${startdir}/pkg install
+  make DESTDIR=${pkgdir} install
 
-  install -D ../mpd ${startdir}/pkg/etc/rc.d/mpd
-  install -Dm644 ../mpd.conf.example ${startdir}/pkg/etc/mpd.conf.example
-  mkdir -p ${startdir}/pkg/var/lib/mpd/playlists
-  mkdir -p ${startdir}/pkg/var/log/mpd
-  mkdir -p ${startdir}/pkg/var/run/mpd
+  install -D ../mpd ${pkgdir}/etc/rc.d/mpd
+  install -Dm644 ../mpd.conf.example ${pkgdir}/etc/mpd.conf.example
+  install -d ${pkgdir}/var/lib/mpd/playlists
+  install -d ${pkgdir}/var/log/mpd
+  install -d ${pkgdir}/var/run/mpd
 }




More information about the arch-commits mailing list