blob: c1e4a03b122d6f8c9ec06206765697f091e81ef3 (
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
|
# $Id: PKGBUILD 197332 2013-10-25 02:34:27Z allan $
# Maintainer:
# Contributor Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=libcdaudio
pkgver=0.99.12
pkgrel=7
pkgdesc="Library for controlling Audio CDs and interacting with CDDB"
arch=('i686' 'x86_64' 'mips64el')
url="http://libcdaudio.sourceforge.net/"
license=('GPL')
depends=('glibc')
source=("http://downloads.sourceforge.net/sourceforge/libcdaudio/${pkgname}-${pkgver}.tar.gz"
'01-cddb-bufferoverflow.patch'
'02-cddb-bufferoverflow.patch')
md5sums=('63b49cf14d53eed31e7a87cca17a3963'
'f78c881b92cd7d25472daa90af284e18'
'e36755c125d2710dc8619bb401e37444')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/01-cddb-bufferoverflow.patch"
patch -Np1 -i "${srcdir}/02-cddb-bufferoverflow.patch"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|