summaryrefslogtreecommitdiff
path: root/extra/musicbrainz/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/musicbrainz/PKGBUILD')
-rw-r--r--extra/musicbrainz/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/musicbrainz/PKGBUILD b/extra/musicbrainz/PKGBUILD
new file mode 100644
index 000000000..398cf0f1a
--- /dev/null
+++ b/extra/musicbrainz/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 89512 2010-09-01 12:52:06Z remy $
+# Maintainer:
+# Contributor: Alexander Baldeck <alexander@archlinux.org>
+# Contributor: dorphell <dorphell@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: Sarah Hay <sarah@archlinux.org>
+
+pkgname=musicbrainz
+pkgver=2.1.5
+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=('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
+}
+
+package() {
+ cd ${srcdir}/lib${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+ cd python
+ python2 setup.py install --root=${pkgdir}
+}
+md5sums=('d5e19bb77edd6ea798ce206bd05ccc5f'
+ '9455555d03e3bd15d488ffdb2287ffa7')