Commit cffa5903 authored by Jan de Groot's avatar Jan de Groot
Browse files

Fix references to startdir

parent 11558fa1
......@@ -10,16 +10,17 @@ license=('GPL2')
depends=('glibc')
options=(!libtool)
source=(http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz
a52dec-0.7.4-build.patch)
a52dec-0.7.4-build.patch)
url="http://liba52.sourceforge.net/"
md5sums=('caa9f5bc44232dc8aeea773fea56be80' 'fa16f224a7dceb7613824380abef0052')
md5sums=('caa9f5bc44232dc8aeea773fea56be80'
'fa16f224a7dceb7613824380abef0052')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/a52dec-0.7.4-build.patch || return 1
./bootstrap || return 1
./configure --prefix=/usr --enable-shared || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -m644 liba52/a52_internal.h $startdir/pkg/usr/include/a52dec/ || return 1
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/a52dec-0.7.4-build.patch"
./bootstrap
./configure --prefix=/usr --enable-shared
make
make DESTDIR="${pkgdir}" install
install -m644 liba52/a52_internal.h "${pkgdir}/usr/include/a52dec/"
}
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