updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / lv2-units / PKGBUILD
blob18ead59579e663d3c3bb5d44b3d7805f33dcadb8
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=lv2-units
4 pkgver=5.4
5 pkgrel=1
6 pkgdesc="Lv2 Units extension"
7 arch=(any)
8 url="http://lv2plug.in/"
9 license=('custom:ISC')
10 groups=('lv2-extensions')
11 depends=('lv2core>=6.0')
12 source=("$url/spec/$pkgname-$pkgver.tar.bz2")
13 md5sums=('5eb0ed26e6fb25e5543150f7fefc71f8')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   python2 waf configure --prefix=/usr
19   python2 waf build
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
25   python2 waf install --destdir="$pkgdir/"
27   # license
28   install -d "$pkgdir/usr/share/licenses/$pkgname"
29   head -n 15 ${pkgname/lv2-}.ttl > \
30     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
33 # vim:set ts=2 sw=2 et: