1 # $Id: PKGBUILD 5600 2008-07-18 22:05:50Z jgc $
2 # derived from a52dec package in extra:
3 # Maintainer: Thomas Baechler <thomas@archlinux.org>
4 # contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
10 pkgdesc="liba52 is a free library for decoding ATSC A/52 streams."
13 depends=('lib32-glibc' $_pkgbasename)
14 makedepends=('gcc-multilib')
16 source=(http://liba52.sourceforge.net/files/${_pkgbasename}-${pkgver}.tar.gz
17 a52dec-0.7.4-build.patch)
18 url="http://liba52.sourceforge.net/"
19 md5sums=('caa9f5bc44232dc8aeea773fea56be80' 'fa16f224a7dceb7613824380abef0052')
25 cd ${srcdir}/${_pkgbasename}-${pkgver}
26 patch -Np1 -i ${srcdir}/a52dec-0.7.4-build.patch || return 1
27 ./bootstrap || return 1
28 ./configure --prefix=/usr --libdir=/usr/lib32 --enable-shared || return 1
30 make DESTDIR=${pkgdir} install || return 1
31 rm -rf "${pkgdir}"/usr/{include,bin,share}