summaryrefslogtreecommitdiff
path: root/extra/libmusicbrainz4/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libmusicbrainz4/PKGBUILD')
-rw-r--r--extra/libmusicbrainz4/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/libmusicbrainz4/PKGBUILD b/extra/libmusicbrainz4/PKGBUILD
new file mode 100644
index 000000000..c1e4af3f5
--- /dev/null
+++ b/extra/libmusicbrainz4/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 156908 2012-04-23 09:08:49Z ibiru $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Max Fehrm max.fehrm@gmail.com
+
+pkgname=libmusicbrainz4
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Library That Provides Access to the MusicBrainz Server "
+url="http://musicbrainz.org/"
+arch=('i686' 'x86_64')
+license=('LGPL2.1')
+depends=('neon')
+makedepends=('cmake')
+source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-$pkgver.tar.gz
+ 0001-Make-sure-gcc-4.7-can-find-usleep-declaration.patch)
+md5sums=('21c33f5dd20b8bb945b800e2a964f27e'
+ 'df1dfa423d32a7a1d08b3fc0114bf087')
+
+build() {
+ cd libmusicbrainz-$pkgver
+ patch -Np1 -i ../0001-Make-sure-gcc-4.7-can-find-usleep-declaration.patch
+ cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr
+ make
+}
+
+package() {
+ cd libmusicbrainz-$pkgver
+ make DESTDIR="$pkgdir" install
+}