core/suil/PKGBUILD

33 lines
745 B
Bash
Raw Normal View History

2013-04-28 19:53:12 +08:00
pkgname=suil
2015-01-09 07:46:55 +08:00
pkgver=0.8.2
2013-04-28 19:53:12 +08:00
pkgrel=1
pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
arch=('x86_64')
url="http://drobilla.net/software/suil/"
license=('custom:ISC')
depends=('lv2')
2015-01-09 07:46:55 +08:00
makedepends=('python2' 'qt')
optdepends=('qt: Qt 4.x UI wrapping support')
2013-04-28 19:53:12 +08:00
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
2015-01-09 07:46:55 +08:00
md5sums=('1b06947b1fc028f9ffcbc16d30065aa5')
2013-04-28 19:53:12 +08:00
build() {
cd "$srcdir/$pkgname-$pkgver"
# remove ldconfig --speps
sed -i "/ldconfig/d" wscript
python2 waf configure --prefix=/usr
2015-01-09 07:46:55 +08:00
python2 waf build $MAKEFLAGS
2013-04-28 19:53:12 +08:00
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf install --destdir="$pkgdir"
# license
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}