# Lib32 Packages for Chakra, part of chakra-project.org # # maintainer (x86_64): Giuseppe CalĂ  # maintainer (x86_64): Anke Boersma _pkgbasename=audiofile pkgname=lib32-$_pkgbasename pkgver=0.3.2 pkgrel=1 pkgdesc="Silicon Graphics Audio File Library (32-bit)" arch=('x86_64') url="http://www.68k.org/~michael/audiofile/" license=('LGPL') depends=('lib32-glibc' 'lib32-alsa-lib' $_pkgbasename) makedepends=(gcc-multilib) options=('!libtool') source=(http://audiofile.68k.org/${_pkgbasename}-$pkgver.tar.gz) md5sums=('cb2c4fe6e899e688ffe5d1568581cb63') build() { export CC="gcc -m32" export CXX="g++ -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" cd "${srcdir}/${_pkgbasename}-${pkgver}" ./configure --prefix=/usr --libdir=/usr/lib32 make } package() { cd "${srcdir}/${_pkgbasename}-${pkgver}" make DESTDIR="${pkgdir}" install rm -rf "${pkgdir}"/usr/{include,share,bin} }