113.0-1
[arch-packages.git] / libcdaudio / repos / extra-x86_64 / PKGBUILD
bloba0bc2183c548b6a3f11ff371abce00fddc99757a
1 # Maintainer: 
2 # Contributor Sarah Hay <sarahhay@mb.sympatico.ca>
4 pkgname=libcdaudio
5 _pkgver=0.99.12p2
6 pkgver=0.99.12.p2
7 pkgrel=3
8 pkgdesc="Library for controlling Audio CDs and interacting with CDDB"
9 arch=('x86_64')
10 url="http://libcdaudio.sourceforge.net/"
11 license=('GPL')
12 depends=('glibc')
13 source=("https://downloads.sourceforge.net/sourceforge/libcdaudio/${pkgname}-${_pkgver}.tar.gz"
14         '01-cddb-bufferoverflow.patch'
15         '02-cddb-bufferoverflow.patch')
16 sha256sums=('5fdaf9af5ac4f75c0215d000b82b128fd054a582f81cc4f039a1e7fe69335ebb'
17             '2eb622aeabcaeb1e3cdae5a5f6015cf16c1cd4e1ea38344da00905923d34a60f'
18             '3a91822b22bdf8a87df5a17b5ef5e134140ea2147792cae37be97f09c812062a')
20 build() {
21   cd ${pkgname}-${_pkgver}
22   patch -Np1 -i "${srcdir}/01-cddb-bufferoverflow.patch"
23   patch -Np1 -i "${srcdir}/02-cddb-bufferoverflow.patch"
24   ./configure --prefix=/usr
25   make
28 package() {
29   cd ${pkgname}-${_pkgver}
30   make DESTDIR="${pkgdir}" install