summaryrefslogtreecommitdiff
path: root/extra/libmusicbrainz3/PKGBUILD
blob: 9f14c9dc4874c5877d89acd6df4838be7675aea3 (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
# $Id: PKGBUILD 150845 2012-02-23 12:35:42Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Max Fehrm max.fehrm@gmail.com
pkgname=libmusicbrainz3
pkgver=3.0.3
pkgrel=2
pkgdesc="Library That Provides Access to the MusicBrainz Server  "
url="http://musicbrainz.org/"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
depends=('neon' 'libdiscid')
makedepends=('cmake')
source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-$pkgver.tar.gz)
md5sums=('f4824d0a75bdeeef1e45cc88de7bb58a')
build() {
  cd ${srcdir}
  mkdir build
  cd build
  cmake ../libmusicbrainz-${pkgver} \
      -DCMAKE_INSTALL_PREFIX:PATH=/usr \
      -DBUILD_SHARED_LIBS:BOOL=ON \
      -DBUILD_STATIC_LIBS:BOOL=OFF
  make
}

package() {
  cd ${srcdir}/build
  make DESTDIR=${pkgdir} install
}