# # Lib32 Packages for Chakra, part of chakra-project.org # # maintainer (x86_64): Giuseppe CalĂ  # maintainer (x86_64): Anke Boersma _pkgbasename=alsa-plugins pkgname=lib32-$_pkgbasename pkgver=1.0.26 pkgrel=1 pkgdesc="Extra alsa plugins (32-bit)" arch=(x86_64) url="http://www.alsa-project.org" license=(GPL) depends=(lib32-alsa-lib $_pkgbasename=$pkgver) makedepends=(lib32-{libpulse,jack,speex,libsamplerate} gcc-multilib) optdepends=('lib32-libpulse: PulseAudio plugin' 'lib32-jack: Jack plugin' 'lib32-libsamplerate: libsamplerate resampling plugin' 'lib32-speex: libspeexdsp resampling plugin') options=('!libtool') #source=("ftp://ftp.alsa-project.org/pub/plugins/$_pkgbasename-$pkgver.tar.bz2") source=("http://alsa.cybermirror.org//plugins/$_pkgbasename-$pkgver.tar.bz2") md5sums=('4facd408326ef5567a7d4ceb6589e6b0') build() { cd "$srcdir/$_pkgbasename-$pkgver" export CC="gcc -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" ./configure --prefix=/usr --libdir=/usr/lib32 --disable-avcodec make } package() { cd "$srcdir/$_pkgbasename-$pkgver" make DESTDIR="$pkgdir" install rm -r "$pkgdir/usr/share" }