summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/cdparanoia/PKGBUILD
blob: 0e60bd45a7b9c6d13f36233d6113dceff3c9f524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 13080 2008-09-25 21:49:25Z pierre $
# 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)

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
}