void-packages/srcpkgs/sratom/template

28 lines
752 B
Bash

# Template file for 'sratom'
pkgname=sratom
version=0.6.14
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="serd-devel sord-devel lv2"
short_desc="Library for serialising LV2 atoms to/from RDF (Turtle syntax)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://drobilla.net/software/sratom/"
distfiles="https://download.drobilla.net/${pkgname}-${version}.tar.xz"
checksum=9982faf40db83aedd9b3850e499fecd6852b8b4ba6dede514013655cffaca1e6
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"
}
}