diff options
author | root <root@rshg054.dnsready.net> | 2012-06-16 00:01:25 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-16 00:01:25 +0000 |
commit | 94fa10f3a918892a08707aa27eb32a83a4959879 (patch) | |
tree | 27111dcbae78f85f5016ac49dd08eff5f7e976c0 /extra/libmusicbrainz5/PKGBUILD | |
parent | 0f99ce5b4d8585285835a277dcbdaf1493d00635 (diff) |
Sat Jun 16 00:01:25 UTC 2012
Diffstat (limited to 'extra/libmusicbrainz5/PKGBUILD')
-rw-r--r-- | extra/libmusicbrainz5/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/libmusicbrainz5/PKGBUILD b/extra/libmusicbrainz5/PKGBUILD new file mode 100644 index 000000000..9cccbd2b3 --- /dev/null +++ b/extra/libmusicbrainz5/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 161787 2012-06-14 09:28:16Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=libmusicbrainz5 +pkgver=5.0.1 +pkgrel=1 +pkgdesc="Library That Provides Access to the MusicBrainz Server" +arch=('i686' 'x86_64') +url="http://musicbrainz.org/" +license=('LGPL2.1') +depends=('neon') +makedepends=('cmake') +source=("https://github.com/downloads/metabrainz/libmusicbrainz/libmusicbrainz-$pkgver.tar.gz" + 'support-out-of-source-build.patch') +md5sums=('a0406b94c341c2b52ec0fe98f57cadf3' + '78348e0c9a0864c7be2dcced5aab6d38') + +build() { + cd "${srcdir}"/libmusicbrainz-${pkgver} + patch -p1 -i "${srcdir}"/support-out-of-source-build.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../libmusicbrainz-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="$pkgdir" install +} |