summaryrefslogtreecommitdiff
path: root/extra/libmusicbrainz3/PKGBUILD
blob: a89a5939a7e7ae2e762ba2c8501aadb95e7fb02d (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 92430 2010-09-29 21:08:46Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Max Fehrm max.fehrm@gmail.com
pkgname=libmusicbrainz3
pkgver=3.0.3
pkgrel=1
pkgdesc="Library That Provides Access to the MusicBrainz Server  "
url="http://musicbrainz.org/"
arch=('i686' 'x86_64')
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
}