core/lilv/PKGBUILD

42 lines
1.0 KiB
Bash
Raw Normal View History

2013-04-28 19:46:14 +08:00
pkgname=lilv
2016-01-20 07:08:36 +08:00
pkgver=0.22.0
2013-04-28 19:46:14 +08:00
pkgrel=1
2013-04-28 20:28:19 +08:00
pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications"
2013-04-28 19:46:14 +08:00
arch=('x86_64')
2013-04-28 20:28:19 +08:00
url="http://drobilla.net/software/lilv/"
2013-04-28 19:46:14 +08:00
license=('custom:ISC')
2016-01-20 07:08:36 +08:00
depends=('python2-numpy' 'sratom' 'jack')
2013-04-28 19:46:14 +08:00
makedepends=('swig')
optdepends=('bash-completion: auto-complete words')
2015-01-09 07:46:55 +08:00
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
2016-01-20 07:08:36 +08:00
md5sums=('fd3a14fdaeaba4716b4fef526548a747')
2013-04-28 20:28:19 +08:00
2013-04-28 19:46:14 +08:00
build() {
cd "$srcdir/$pkgname-$pkgver"
2013-04-28 20:28:19 +08:00
# pick up python2 even when python3 exists
# (the build system has flaky support for python3)
2013-04-28 19:46:14 +08:00
export PYTHON="/usr/bin/python2"
2013-04-28 20:28:19 +08:00
# remove ldconfig --speps
2013-04-28 19:46:14 +08:00
sed -i "/ldconfig/d" wscript
2013-04-28 20:28:19 +08:00
python2 waf configure --prefix=/usr \
--configdir=/etc \
--dyn-manifest \
--bindings
python2 waf build $MAKEFLAGS
2013-04-28 19:46:14 +08:00
}
2013-04-28 20:28:19 +08:00
2013-04-28 19:46:14 +08:00
package() {
cd "$srcdir/$pkgname-$pkgver"
2013-04-28 20:28:19 +08:00
python2 waf install --destdir="$pkgdir"
2013-04-28 19:46:14 +08:00
# license
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
2013-04-28 20:28:19 +08:00