[arch-commits] CVS update of extra/multimedia/tunepimp (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Jun 10 13:55:04 EDT 2007


    Date: Sunday, June 10, 2007 @ 13:55:04
  Author: jgc
    Path: /home/cvs-extra/extra/multimedia/tunepimp

Modified: PKGBUILD (1.17 -> 1.18)

upgpkg: tunepimp 0.5.3-5
Cleanup PKGBUILD, make a symlink instead of a copy for the includefiles


----------+
 PKGBUILD |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)


Index: extra/multimedia/tunepimp/PKGBUILD
diff -u extra/multimedia/tunepimp/PKGBUILD:1.17 extra/multimedia/tunepimp/PKGBUILD:1.18
--- extra/multimedia/tunepimp/PKGBUILD:1.17	Thu Jun  7 10:11:35 2007
+++ extra/multimedia/tunepimp/PKGBUILD	Sun Jun 10 13:55:04 2007
@@ -1,33 +1,32 @@
-# $Id: PKGBUILD,v 1.17 2007/06/07 14:11:35 tpowa Exp $
+# $Id: PKGBUILD,v 1.18 2007/06/10 17:55:04 jgc Exp $
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=tunepimp
 pkgver=0.5.3
-pkgrel=4
+pkgrel=5
 pkgdesc="The TunePimp library (also referred to as libtunepimp) is a development library geared towards developers who wish to create MusicBrainz enabled tagging applications."
 arch=(i686 x86_64)
 license=('GPL')
-options=(!libtool)
+options=('!libtool')
 makedepends=('python')
 depends=('curl>=7.16.2' 'musicbrainz' 'zlib' 'libmad' 'flac>=1.1.4' 'libvorbis' 'readline' 'libmpcdec' 'libofa' 'taglib' 'libmp4v2')
 replaces=('trm')
-source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/lib$pkgname-$pkgver.tar.gz)
+source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/lib${pkgname}-${pkgver}.tar.gz)
 url="http://www.musicbrainz.org/products/tunepimp/"
 
 build() {
-  cd $startdir/src/lib$pkgname-$pkgver
+  cd ${startdir}/src/lib${pkgname}-${pkgver}
   sed -i -e 's,-ltermcap,-lncurses,' configure
   sed -i -e 's:-lthr:-lpthread:g' lib/threads/posix/Makefile.in
   ./configure --prefix=/usr
   make || return 1
-  mkdir -p $startdir/pkg/usr/lib/pkgconfig
-  make prefix=$startdir/pkg/usr install
+  make DESTDIR=${startdir}/pkg install
   # install python bindings
-  cd $startdir/src/lib$pkgname-$pkgver/python
-  python setup.py build
-  python setup.py install --prefix $startdir/pkg/usr
+  cd python
+  python setup.py install --root=${startdir}/pkg
+
   # fix includes for kdemultimedia
-  cd $startdir/pkg/usr/include
-  cp -r tunepimp-0.5 tunepimp
+  cd ${startdir}/pkg/usr/include
+  ln -s tunepimp-0.5 tunepimp
 }
 md5sums=('09649f983acef679a548344ba7a9bb2f')




More information about the arch-commits mailing list