PKGBUILDs/extra/cdparanoia/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
844 B
Bash

# $Id: PKGBUILD 53530 2009-10-02 03:48:49Z eric $
# Maintainer: Alexander Fehr <pizzapunk gmail com>
pkgname=cdparanoia
pkgver=10.2
pkgrel=2
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 gcc.patch)
md5sums=('b304bbe8ab63373924a744eac9ebc652' '12da14958d2b84c6719fe69890436445')
sha1sums=('1901e20d3a370ca6afa4c76a9ef30d3f03044320' '67faaf0e3eed2e3de6f66d8168604bc6c7295921')
build() {
cd "$srcdir/cdparanoia-III-$pkgver"
patch -p0 -i ${srcdir}/gcc.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make prefix="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man" install || return 1
}