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

Andrea Scarpino andrea at archlinux.org
Sat Sep 11 21:30:50 UTC 2010


    Date: Saturday, September 11, 2010 @ 17:30:49
  Author: andrea
Revision: 90474

upgpkg: tunepimp 0.5.3-8
python2 rebuild

Modified:
  tunepimp/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-11 21:30:20 UTC (rev 90473)
+++ PKGBUILD	2010-09-11 21:30:49 UTC (rev 90474)
@@ -3,39 +3,44 @@
 
 pkgname=tunepimp
 pkgver=0.5.3
-pkgrel=7
+pkgrel=8
 pkgdesc="A development library geared towards developers who wish to create MusicBrainz enabled tagging applications (aka libtunepimp)"
 url="http://www.musicbrainz.org/products/tunepimp/"
 arch=('i686' 'x86_64')
 license=('GPL')
 options=('!libtool' '!makeflags')
-makedepends=('python')
+makedepends=('python2')
 depends=('curl' 'musicbrainz' 'zlib' 'libmad' 'flac' 'libvorbis' 'readline' 'libmpcdec' 'libofa' 'taglib' 'libmp4v2')
 replaces=('trm')
 source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/lib${pkgname}-${pkgver}.tar.gz
         tunepimp-gcc43.patch
 	gcc4.4.patch
 	mp4v2-1.9.patch)
+md5sums=('09649f983acef679a548344ba7a9bb2f'
+         '40f48ad658958b909909b204bf9b1367'
+         'b325bf8ed98bc008611ece0c418642f8'
+         '9f41d473a07e13808762545772fe3435')
 
  build() {
   cd ${srcdir}/lib${pkgname}-${pkgver}
   sed -i -e 's,-ltermcap,-lncurses,' configure
   sed -i -e 's:-lthr:-lpthread:g' lib/threads/posix/Makefile.in
-  patch -Np0 -i ${srcdir}/tunepimp-gcc43.patch || return 1
-  patch -Np1 -i ${srcdir}/gcc4.4.patch || return 1
-  patch -Np1 -i ${srcdir}/mp4v2-1.9.patch || return 1
+  patch -Np0 -i ${srcdir}/tunepimp-gcc43.patch
+  patch -Np1 -i ${srcdir}/gcc4.4.patch
+  patch -Np1 -i ${srcdir}/mp4v2-1.9.patch
   ./configure --prefix=/usr
-  make || return 1
+  make
+}
+
+package() {
+  cd ${srcdir}/lib${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
+
   # install python bindings
   cd python
-  python setup.py install --root=${pkgdir}
+  python2 setup.py install --root=${pkgdir}
 
   # fix includes for kdemultimedia
   cd ${pkgdir}/usr/include
   ln -s tunepimp-0.5 tunepimp
 }
-md5sums=('09649f983acef679a548344ba7a9bb2f'
-         '40f48ad658958b909909b204bf9b1367'
-         'b325bf8ed98bc008611ece0c418642f8'
-         '9f41d473a07e13808762545772fe3435')




More information about the arch-commits mailing list