PKGBUILDs/extra/musicbrainz/PKGBUILD

32 lines
889 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 35940 2009-04-18 11:56:19Z andrea $
# Maintainer: 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=2
pkgdesc="The second generation incarnation of the CD Index"
arch=(i686 x86_64)
license=('LGPL')
depends=('gcc' 'expat>=2.0')
makedepends=('python')
options=('!libtool')
source=(ftp://ftp.musicbrainz.org/pub/$pkgname/libmusicbrainz-${pkgver}.tar.gz
'gcc4.3.patch')
url="http://www.musicbrainz.org/index.html"
build() {
cd ${srcdir}/lib${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/gcc4.3.patch
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
cd python
python setup.py install --root=${pkgdir} || return 1
}
md5sums=('d5e19bb77edd6ea798ce206bd05ccc5f')