blob: ce4687386f6f698abf4c14bf54f3922330d90db8 (
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
|
# $Id: PKGBUILD 215791 2014-06-30 14:58:02Z fyan $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=libmusicbrainz5
pkgver=5.0.1
pkgrel=2
pkgdesc="Library That Provides Access to the MusicBrainz Server"
arch=('i686' 'x86_64')
url='http://musicbrainz.org/doc/libmusicbrainz'
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
}
|