summaryrefslogtreecommitdiff
path: root/extra/libdiscid/PKGBUILD
blob: c3dbd69e7f4522cb602757013f5854dcdc6ef801 (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
# $Id: PKGBUILD 188777 2013-06-20 04:15:31Z eric $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Eric Gillingham <sysrq@sysrq.tk>

pkgname=libdiscid
pkgver=0.5.1
pkgrel=1
pkgdesc="A Library for creating MusicBrainz DiscIDs"
arch=('i686' 'x86_64' 'mips64el')
url="http://musicbrainz.org/doc/libdiscid"
license=('LGPL')
depends=('glibc')
options=('!libtool')
source=("http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${pkgname}-${pkgver}.tar.gz")
md5sums=('7770e649929b378d4758f97f9937a3d5')

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

check() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make check
}

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