1 # Maintainer: David Runge <dvzrv@archlinux.org>
6 pkgdesc="A collection of basic LV2 plugins to translate midi messages to usable values"
8 url="https://github.com/blablack/midimsg-lv2"
28 source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
29 sha512sums=('e2977dfda904e48e87fdfb416b700efae578ceeb81cbcf1ad1a40a3dc0a80e8b92a98d846d25deb367f1763a285816a99ec3db399137f5faa5b53c9bcc1646cb')
30 b2sums=('8a24d9c837f549648ce6d7b063cf454314b8be44d5121b96578ff68e94013b7ca8db36bce3ccc9c1124bf24e20084b84f2888c257332632845cb307f9082fbb1')
36 cp -v waflib/extras/{autowaf,lv2}.py tools
37 # modify wscript to use current scripts and fix version
38 sed -e 's/waflib.extras/tools/' \
39 -e "s/load('lv2'/load('lv2', tooldir='tools'/" \
46 export LINKFLAGS="$LDFLAGS"
47 waf configure --prefix=/usr
55 for name in aftertouch controller modwheel; do
56 xvfb-run lv2lint -Mpack -I build/${pkgname//-/.}/ "https://github.com/blablack/midimsg-lv2/$name" || echo "Known to fail: https://github.com/blablack/midimsg-lv2/issues/1"
62 waf install --destdir="$pkgdir/"
63 install -vDm 644 {THANKS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"