summaryrefslogtreecommitdiff
path: root/community/suil/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/suil/PKGBUILD')
-rw-r--r--community/suil/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/suil/PKGBUILD b/community/suil/PKGBUILD
new file mode 100644
index 000000000..e44474115
--- /dev/null
+++ b/community/suil/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 72427 2012-06-14 08:00:19Z speps $
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=suil
+pkgver=0.6.2
+pkgrel=1
+pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
+arch=(i686 x86_64)
+url="http://drobilla.net/software/$pkgname/"
+license=('custom:ISC')
+depends=('lv2')
+makedepends=('python2' 'qt' 'gtk2')
+optdepends=('qt: Qt UIs wrapping support'
+ 'gtk2: Gtk2 UIs wrapping support')
+source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
+md5sums=('062f1166786cf59a28b3b9bfbda6f15c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # remove ldconfig
+ sed -i "/ldconfig/d" wscript
+
+ python2 ./waf configure --prefix=/usr \
+ --mandir=/usr/share/man
+ python2 ./waf
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ DESTDIR="$pkgdir" python2 ./waf install
+
+ # license
+ install -Dm644 COPYING \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: