1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
2 # Contributor: escoand <passtschu at freenet.de>
5 pkgname=lib32-${_pkgbase}
8 pkgdesc="ISO AAC audio decoder (32 bit)"
10 url="http://www.audiocoding.com/"
11 license=('GPL' 'custom:FAAD2')
12 depends=('lib32-glibc' ${_pkgbase})
13 makedepends=('gcc-multilib')
14 options=('!libtool' '!makeflags')
15 source=("http://downloads.sourceforge.net/sourceforge/faac/${_pkgbase}-${pkgver}.tar.bz2"
17 md5sums=('4c332fa23febc0e4648064685a3d4332'
18 'ec95f38142e14fb46c849503897a37a0')
19 sha1sums=('b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5'
20 '00edd9b30d8d5098b5e91c03c595d96a3bbe56fd')
25 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
27 cd "${srcdir}/${_pkgbase}-${pkgver}"
28 ./configure --prefix=/usr --libdir=/usr/lib32
29 make CFLAGS="${CFLAGS} -fPIC"
33 cd "${srcdir}/${_pkgbase}-${pkgver}"
35 make DESTDIR="${pkgdir}" install
36 rm -rf "${pkgdir}/usr"/{bin,include,share}
37 install -Dm644 "${srcdir}/LICENSE" \
38 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"