diff options
Diffstat (limited to 'community/sord/PKGBUILD')
-rw-r--r-- | community/sord/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/sord/PKGBUILD b/community/sord/PKGBUILD new file mode 100644 index 000000000..3ee624983 --- /dev/null +++ b/community/sord/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 72425 2012-06-14 07:59:09Z speps $ +# Maintainer: speps <speps at aur dot archlinux dot org> + +pkgname=sord +pkgver=0.8.0 +pkgrel=1 +pkgdesc="A lightweight C library for storing RDF data in memory." +arch=(i686 x86_64) +url="http://drobilla.net/software/$pkgname/" +license=('custom:ISC') +depends=('serd' 'pcre') +makedepends=('python2') +source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2") +md5sums=('62be6a2cd6e9bc2933d1297afeacda30') + +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: |