summaryrefslogtreecommitdiff
path: root/community/libcoverart/PKGBUILD
blob: 1a2a6cfc41e46e70234ae9841c2f4db418462b09 (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' 'mips64el')
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
}