[arch-commits] Commit in musicbrainz/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Wed Sep 1 12:52:06 UTC 2010
Date: Wednesday, September 1, 2010 @ 08:52:06
Author: remy
Revision: 89512
upgpkg: musicbrainz 2.1.5-4
Rebuild for python2.
Modified:
musicbrainz/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-01 12:43:00 UTC (rev 89511)
+++ PKGBUILD 2010-09-01 12:52:06 UTC (rev 89512)
@@ -7,28 +7,31 @@
pkgname=musicbrainz
pkgver=2.1.5
-pkgrel=3
+pkgrel=4
pkgdesc="The second generation incarnation of the CD Index"
arch=('i686' 'x86_64')
url="http://www.musicbrainz.org/index.html"
license=('LGPL')
depends=('expat>=2.0')
-makedepends=('python')
+makedepends=('python2')
options=('!libtool')
source=(ftp://ftp.musicbrainz.org/pub/$pkgname/libmusicbrainz-${pkgver}.tar.gz
'gcc4.3.patch')
-
build() {
cd ${srcdir}/lib${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/gcc4.3.patch
./configure --prefix=/usr
- make || return 1
+ make
+}
+
+package() {
+ cd ${srcdir}/lib${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
cd python
- python setup.py install --root=${pkgdir} || return 1
+ python2 setup.py install --root=${pkgdir}
}
md5sums=('d5e19bb77edd6ea798ce206bd05ccc5f'
'9455555d03e3bd15d488ffdb2287ffa7')
More information about the arch-commits
mailing list