1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
4 pkgname=lib32-$_pkgbasename
7 pkgdesc="ISO AAC audio decoder (32 bit, library only)"
9 url="http://www.audiocoding.com/"
10 license=('GPL' 'custom:FAAD2')
11 depends=('lib32-glibc' "$_pkgbasename>=$pkgver")
12 makedepends=('gcc-multilib')
13 options=('!libtool' '!makeflags')
14 source=("http://downloads.sourceforge.net/sourceforge/faac/${_pkgbasename}-${pkgver}.tar.bz2"
16 md5sums=('4c332fa23febc0e4648064685a3d4332'
17 'ec95f38142e14fb46c849503897a37a0')
18 sha1sums=('b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5'
19 '00edd9b30d8d5098b5e91c03c595d96a3bbe56fd')
22 cd ${srcdir}/${_pkgbasename}-${pkgver}
24 ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32' CXX='g++ -m32'
25 make CFLAGS="${CFLAGS} -fPIC"
29 cd ${srcdir}/${_pkgbasename}-${pkgver}
31 make DESTDIR=${pkgdir} install
32 rm -rf ${pkgdir}/usr/{bin,include,share}
33 install -Dm644 ${srcdir}/LICENSE \
34 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE