summaryrefslogtreecommitdiff
path: root/community/libcoverart/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-31 00:42:46 -0700
committerroot <root@rshg054.dnsready.net>2013-03-31 00:42:46 -0700
commitbccd6b361bd252b2d32bc9a793c9e1b8448bfcd9 (patch)
tree36b3a3efb723f4bcf4bdcbc909481ec8c8092d58 /community/libcoverart/PKGBUILD
parentec8ec85d765aa7c0826e20196c70e20e0e4e7169 (diff)
Sun Mar 31 00:42:46 PDT 2013
Diffstat (limited to 'community/libcoverart/PKGBUILD')
-rw-r--r--community/libcoverart/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/libcoverart/PKGBUILD b/community/libcoverart/PKGBUILD
new file mode 100644
index 000000000..f0f4e2012
--- /dev/null
+++ b/community/libcoverart/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 87381 2013-03-30 13:00:20Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=libcoverart
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="C/C++ library for accessing the MusicBrainz Cover Art Archive"
+arch=('i686' 'x86_64')
+url="http://musicbrainz.org/doc/libcoverart"
+license=('LGPL')
+depends=('neon' 'jansson')
+makedepends=('cmake')
+source=(https://github.com/downloads/metabrainz/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('6380056bb4bc1a69790e706b4d506f50')
+
+build() {
+ cd "$srcdir/$pkgname-{PROJECT_VERSION}"
+
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-{PROJECT_VERSION}"
+
+ make DESTDIR="$pkgdir" install
+}