summaryrefslogtreecommitdiff
path: root/extra/libdiscid/PKGBUILD
blob: 7bc700b279be0da3557dcd81bbfb1b8b9204de0b (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
# $Id: PKGBUILD 197662 2013-10-28 01:29:10Z eric $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Eric Gillingham <sysrq@sysrq.tk>

pkgname=libdiscid
pkgver=0.6.1
pkgrel=2
pkgdesc="A Library for creating MusicBrainz DiscIDs"
arch=('i686' 'x86_64' 'mips64el')
url="http://musicbrainz.org/doc/libdiscid"
license=('LGPL')
depends=('glibc')
source=("http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${pkgname}-${pkgver}.tar.gz")
md5sums=('98c4b281780707e6b446cc526a825e7a')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

check() {
  cd ${pkgname}-${pkgver}
  make check
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}