### this file is sourced not run
PKGVER=0.30.0
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=serd-$PKGVER.tar.bz2
MD5SUM=82243362b8b5a47dd46dac7ae893f562
SRC_URL=http://download.drobilla.net/$TARBALL
BUNDLE=

SLACKREQ='' # 
SLACKDESC="libserd: libserd $PKGVER (Lightweight RDF library)
libserd: 
libserd: Serd is a lightweight C library for RDF syntax which supports reading 
libserd: and writing Turtle and NTriples. Minimally intented to support LV2 
libserd: applications.
libserd: 
libserd: http://drobilla.net/software/serd/
libserd: 
libserd: 
libserd: 
libserd: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/serd*
	./waf configure --prefix=/usr --configdir=/etc --libdir=/usr/$LIBDIR &&
	./waf build $MAKEFLAGS &&
	./waf install &&

	# clean ldconfig output
	rm -rf /var/cache /etc/ld.so.cache &&

	pkg_build_slackdesc
}
