Commit 80c9183b authored by Jan de Groot's avatar Jan de Groot
Browse files

Fix build

parent c867e60e
......@@ -4,7 +4,7 @@
pkgname=a52dec
pkgver=0.7.4
pkgrel=6
pkgrel=7
pkgdesc="A free library for decoding ATSC A/52 streams"
url="http://liba52.sourceforge.net/"
arch=('i686' 'x86_64')
......@@ -16,10 +16,16 @@ source=("http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz"
md5sums=('caa9f5bc44232dc8aeea773fea56be80'
'fa16f224a7dceb7613824380abef0052')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/a52dec-0.7.4-build.patch"
prepare() {
cd "${pkgname}-${pkgver}"
patch -Np1 -i ../a52dec-0.7.4-build.patch
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
mv configure.in configure.ac
./bootstrap
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --enable-shared
make
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment