summaryrefslogtreecommitdiff
path: root/community/libcoverart/PKGBUILD
blob: f0f4e2012d20279259750611d71ba38631ae13cb (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 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
}