summaryrefslogtreecommitdiff
path: root/extra/sratom
diff options
context:
space:
mode:
authorJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-09-18 23:41:48 -0500
committerJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-09-18 23:41:48 -0500
commitfa95bb04dbbc63d07b1f84fb8ce5272085097eb7 (patch)
tree09eb51305956e84dfb79aa89f5b99e595371c54d /extra/sratom
parent6eefbbf4300e680dc93487c11a1ae35ee8299f06 (diff)
parent5a05be089c68617c86c9c555e63f2b0314451ebf (diff)
Merge branch 'master' of gitpar:abslibre-mips64el
Diffstat (limited to 'extra/sratom')
-rw-r--r--extra/sratom/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/sratom/PKGBUILD b/extra/sratom/PKGBUILD
new file mode 100644
index 000000000..bc7881bba
--- /dev/null
+++ b/extra/sratom/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 72422 2012-06-14 07:51:14Z speps $
+# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=sratom
+pkgver=0.4.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=('7279faa5879949de6593945c7f924595')
+
+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"
+}