blob: e921dbde297775e76526bef6679adab38ad95b79 (
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
33
34
35
36
37
|
# $Id: PKGBUILD 175152 2013-01-15 11:44:42Z jgc $
# Maintainer:
# Contributor: damir <damir@archlinux.org>
pkgname=libcdio
pkgver=0.90
pkgrel=2
pkgdesc="GNU Compact Disc Input and Control Library"
arch=('i686' 'x86_64')
license=('GPL3')
url="http://www.gnu.org/software/libcdio/"
depends=('libcddb' 'ncurses' 'gcc-libs')
options=('!libtool')
install=libcdio.install
source=(http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz{,.sig}
libcdio-0.83-linking.patch
udf-Dont-return-freed-memory-from-udf_fopen.patch)
md5sums=('1b245b023fb03a58d030fd2800db3247'
'45100d90ea49d6f8481eddf709655c0f'
'5a7f50209c03d5919d5b932f07871af7'
'b7b50c989575e5484d3992b455c9df48')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i ../libcdio-0.83-linking.patch
patch -Np1 -i ../udf-Dont-return-freed-memory-from-udf_fopen.patch
./configure --prefix=/usr --disable-vcd-info --enable-cpp-progs --disable-static
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make -j1 DESTDIR="${pkgdir}" install
sed -i "/LIBCDIO_SOURCE_PATH/s|.*|/* #undef LIBCDIO_SOURCE_PATH */|" \
$pkgdir/usr/include/cdio/cdio_config.h
}
|