1 # Maintainer: JSpaces <jspaces |aT| lightspeed |dOt| ca>
2 # contributor: Thomas Baechler <thomas@archlinux.org>
3 # contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
9 pkgdesc="A free Fast Fourier Transformation optimized ATSC A/52 stream decoder."
10 arch=('i686' 'x86_64')
11 url="http://liba52.sourceforge.net/"
13 depends=('glibc' 'libdjbfft')
16 provides=('a52dec=$pkgver')
17 source=(http://liba52.sourceforge.net/files/${_srcname}-${pkgver}.tar.gz
18 a52dec-0.7.4-build.patch)
19 md5sums=('caa9f5bc44232dc8aeea773fea56be80'
20 'fa16f224a7dceb7613824380abef0052')
23 cd ${srcdir}/${_srcname}-${pkgver}
24 patch -Np1 -i ${srcdir}/a52dec-0.7.4-build.patch
26 # Update auto build files, compile fails otherwise
29 # djbfft support enabled
30 ./configure --prefix=/usr \
38 cd ${srcdir}/${_srcname}-${pkgver}
39 make DESTDIR=${pkgdir} install
41 # Copy header file in case needed.
42 install -m644 liba52/a52_internal.h ${pkgdir}/usr/include/a52dec/
44 # vim:set ts=2 sw=2 et: