summaryrefslogtreecommitdiff
path: root/extra/musicbrainz/PKGBUILD
blob: 6894b54986a0f8ba7a445acf540cd54fca1a3061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 149574 2012-02-08 14:54:36Z tpowa $
# 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=5
pkgdesc="The second generation incarnation of the CD Index"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.musicbrainz.org"
license=('LGPL')
depends=('expat>=2.0' 'gcc-libs')
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')