1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
5 pkgname=lib32-$_pkgbasename
8 pkgdesc="CMT for LADSPA (32 bit)"
11 url="http://www.ladspa.org"
12 depends=('lib32-ladspa' 'lib32-gcc-libs')
13 makedepends=('gcc-multilib')
14 source=(http://www.ladspa.org/download/${_pkgbasename}_src_${pkgver}.tgz)
15 md5sums=('15a875e5aaf79c209c223babfb41cb1c')
18 cd "${srcdir}/${_pkgbasename}/src"
20 [ -f makefile-orig ] && mv makefile{-orig,} # allow rebuild
21 # Fix directories and compiler flags for a lib32 package
23 -e '/INSTALL_PLUGINS_DIR/s/lib/&32/' \
24 -e 's|^CFLAGS|CXX\t\t\=\tg++ -m32\nCFLAGS|g' \
25 -e "/CFLAGS/ s/-O3/${CFLAGS}/" \
32 cd "${srcdir}/${_pkgbasename}/src"
33 install -d -m755 "${pkgdir}/usr/lib32/ladspa/"
34 install -m755 ../plugins/cmt.so "${pkgdir}/usr/lib32/ladspa/"