# Template file for 'sratom'
pkgname=sratom
version=0.6.0
revision=1
build_style=waf
hostmakedepends="pkg-config python"
makedepends="serd-devel sord-devel lv2"
short_desc="Library for serialising LV2 atoms to/from RDF (Turtle syntax)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="http://drobilla.net/software/sratom/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=440ac2b1f4f0b7878f8b95698faa1e8f8c50929a498f68ec5d066863626a3d43

post_install() {
	vlicense COPYING
}

sratom-devel_package() {
	depends="serd-devel>=0.18.0 sord-devel lv2 sratom>=${version}_${revision}"
	short_desc+=" - Development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
