From 94fa10f3a918892a08707aa27eb32a83a4959879 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 16 Jun 2012 00:01:25 +0000 Subject: Sat Jun 16 00:01:25 UTC 2012 --- community/serd/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 community/serd/PKGBUILD (limited to 'community/serd') diff --git a/community/serd/PKGBUILD b/community/serd/PKGBUILD new file mode 100644 index 000000000..0caa08e58 --- /dev/null +++ b/community/serd/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 72424 2012-06-14 07:58:39Z speps $ +# Maintainer: speps + +pkgname=serd +pkgver=0.14.0 +pkgrel=1 +pkgdesc="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples." +arch=(i686 x86_64) +url="http://drobilla.net/software/$pkgname/" +license=('custom:ISC') +depends=('glibc') +makedepends=('python2') +source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2") +md5sums=('405b11ee92f3f19ce4a757ba34953886') + +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: -- cgit v1.2.3-54-g00ecf