summaryrefslogtreecommitdiffstats
path: root/abs/core/cdparanoia/PKGBUILD
blob: 58e41f22aae9f3d0a697ae0114bfac19973f6b79 (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
30
31
32
# $Id$
# Maintainer: Eric BĂ©langer <eric@archlinux.org>

pkgname=cdparanoia
pkgver=10.2
pkgrel=5
pkgdesc="Compact Disc Digital Audio extraction tool"
arch=('i686' 'x86_64')
url="http://www.xiph.org/paranoia/"
license=('GPL')
depends=('glibc')
options=('!makeflags' '!staticlibs')
source=(http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$pkgver.src.tgz
        gcc.patch)
sha1sums=('1901e20d3a370ca6afa4c76a9ef30d3f03044320'
          '67faaf0e3eed2e3de6f66d8168604bc6c7295921')

prepare() {
  cd "${srcdir}/${pkgname}-III-${pkgver}"
  patch -p0 -i ${srcdir}/gcc.patch
}

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

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