# $Id: PKGBUILD 27495 2009-02-22 04:29:09Z eric $ # Maintainer: Eric Belanger # Contributor: Sarah Hay pkgname=faad2 pkgver=2.7 pkgrel=1 pkgdesc="ISO AAC audio decoder" arch=('i686' 'x86_64' 'mips64el') url="http://www.audiocoding.com/" license=('custom:GPL') depends=('glibc') options=('!libtool' '!makeflags') source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.bz2 LICENSE) md5sums=('4c332fa23febc0e4648064685a3d4332' 'ec95f38142e14fb46c849503897a37a0') sha1sums=('b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5' '00edd9b30d8d5098b5e91c03c595d96a3bbe56fd') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr || return 1 make CFLAGS="${CFLAGS} -fPIC" || return 1 make DESTDIR=${pkgdir} manmdir=/usr/share/man/man1 install || return 1 install -m644 common/mp4ff/mp4ff_int_types.h ${pkgdir}/usr/include/mp4ff_int_types.h || return 1 install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 mv ${pkgdir}/usr/share/man/man1/faad.man ${pkgdir}/usr/share/man/man1/faad.1 }