updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / cdtool / PKGBUILD
blobb6079fb7bcfb6775ac7b63a61732be3b4e509303
1 # Contributor: Alexander Baldeck <alexander@archlinux.org>
2 # Contributor: dorphell <dorphell@archlinux.org>
3 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
4 # Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
6 pkgname=cdtool
7 pkgver=2.1.8
8 pkgrel=3
9 pkgdesc="A package of command-line utilities to play and catalog audio CD-ROMs."
10 arch=('i686' 'x86_64')
11 url="http://hinterhof.net/cdtool/"
12 license=('GPL2')
13 depends=('bash')
14 source=(http://www.ibiblio.org/pub/linux/apps/sound/cdrom/cli/${pkgname}-${pkgver}.tar.gz
15         'glibc-2.10.patch')
16 md5sums=('7b19b6f68d2c648296378b784d5f7681'
17          '98b36f941007949cdcddbebd22c59977')
19 build() {
20   cd ${srcdir}/${pkgname}-${pkgver}
22   patch -Np1 -i ${srcdir}/glibc-2.10.patch || return 1
24   ./configure --prefix=/usr --mandir=/usr/share/man || return 1
25   make || return 1 || return 1
26   make DESTDIR=${pkgdir} install || return 1