# $Id: PKGBUILD 8181 2008-08-08 15:48:07Z alexanderf $
# Maintainer: Alexander Fehr <pizzapunk gmail com>

pkgname=cdparanoia
pkgver=10.1
pkgrel=1
pkgdesc="Compact Disc Digital Audio extraction tool"
arch=('i686' 'x86_64')
url="http://www.xiph.org/paranoia/"
license=('GPL')
depends=('glibc')
options=('!makeflags')
source=(http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$pkgver.src.tgz)
md5sums=('abf410217c4ba42f927bfd9d7b86e163')

build() {
  cd "$srcdir/cdparanoia-III-$pkgver"

  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
  make || return 1
  make prefix="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man" install || return 1
}