summaryrefslogtreecommitdiff
path: root/extra/cdparanoia/PKGBUILD
blob: 3d909699344c3ef6fc0e9cacede8355364e8a15a (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
# $Id: PKGBUILD 149332 2012-02-06 20:43:48Z stephane $
# Maintainer:
# Contributor: Alexander Fehr <pizzapunk gmail com>

pkgname=cdparanoia
pkgver=10.2
pkgrel=4.2
pkgdesc="Compact Disc Digital Audio extraction tool"
arch=('i686' 'x86_64' 'mips64el')
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')

build() {
  cd "${srcdir}/${pkgname}-III-${pkgver}"
  patch -p0 -i ${srcdir}/gcc.patch
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "${srcdir}/${pkgname}-III-${pkgver}"
  make prefix="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man" install
}