summaryrefslogtreecommitdiff
path: root/community/sratom
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
committerroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
commit94fa10f3a918892a08707aa27eb32a83a4959879 (patch)
tree27111dcbae78f85f5016ac49dd08eff5f7e976c0 /community/sratom
parent0f99ce5b4d8585285835a277dcbdaf1493d00635 (diff)
Sat Jun 16 00:01:25 UTC 2012
Diffstat (limited to 'community/sratom')
-rw-r--r--community/sratom/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/sratom/PKGBUILD b/community/sratom/PKGBUILD
new file mode 100644
index 000000000..c20fc5c66
--- /dev/null
+++ b/community/sratom/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 72426 2012-06-14 07:59:39Z speps $
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=sratom
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="An LV2 Atom RDF serialisation library"
+arch=(i686 x86_64)
+url="http://drobilla.net/software/$pkgname/"
+license=('custom:ISC')
+depends=('lv2' 'sord')
+makedepends=('python2')
+source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
+md5sums=('c03cf2849186818610ffe889be4f5b55')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # remove ldconfig
+ sed -i '/ldconfig/d' wscript
+
+ python2 waf configure --prefix=/usr
+ python2 waf
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ DESTDIR="$pkgdir/" python2 waf install
+
+ # license
+ install -Dm644 COPYING \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}