1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Maintainer: Tom Gundersen <teg@jklm.no>
3 # Contributor: Thomas Baechler <thomas@archlinux.org>
4 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
9 pkgdesc="A free library for decoding ATSC A/52 streams"
10 url="http://liba52.sourceforge.net/"
14 source=("http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz"
15 'a52dec-0.7.4-build.patch'
17 sha256sums=('a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33'
18 '00a094d6178cd21bfc2303ff2ac91ce656810e6fef50e77ab30e18d0f4d4a650'
19 '5151ccb8b727f3985042011f0e5c4891dd5f2a9e6f177a23d41b44bebbdd1947')
22 cd "${pkgname}-${pkgver}"
23 patch -Np1 -i ../a52dec-0.7.4-build.patch
24 patch -Np1 -i ../stderr.patch
25 sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
26 mv configure.in configure.ac
32 ./configure --prefix=/usr --enable-shared
37 cd "${srcdir}/${pkgname}-${pkgver}"
38 make DESTDIR="${pkgdir}" install
39 install -m644 liba52/a52_internal.h "${pkgdir}/usr/include/a52dec/"