updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / lilv / PKGBUILD
blobb480f6ea1aa82457b9a7b25a3b8b0fc4ea3d4b76
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=lilv
4 pkgver=0.5.0
5 pkgrel=2
6 pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications."
7 arch=(i686 x86_64)
8 url="http://drobilla.net/software/$pkgname/"
9 license=('custom:ISC')
10 depends=('python2' 'lv2core' 'sord>=0.5.0' 'sord<1.0.0' 'jack')
11 makedepends=('swig' 'lv2-dynmanifest')
12 optdepends=('bash-completion: auto-complete words')
13 source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
14 md5sums=('88f5a60ef4e217b6c44a4eff4ccf0ce9')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   export PYTHON="/usr/bin/python2"
21   # remove ldconfig
22   sed -i "/ldconfig/d" wscript
24   # dynamic manifest fix
25   sed -i 's/dyn-manifest/dynmanifest/g' `grep -rl dyn-manifest .`
27   python2 ./waf configure --prefix=/usr \
28                           --mandir=/usr/share/man \
29                           --configdir=/etc \
30                           --dynmanifest \
31                           --bindings
32   python2 ./waf
35 package() {
36   cd "$srcdir/$pkgname-$pkgver"
38   DESTDIR="$pkgdir" python2 ./waf install
40   # license
41   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
44 # vim:set ts=2 sw=2 et: