void-packages/srcpkgs/serd/template

40 lines
891 B
Bash

# Template file for 'serd'
pkgname=serd
version=0.32.2
revision=1
build_style=meson
short_desc="Lightweight C library for RDF syntax"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="http://drobilla.net/software/serd.html"
changelog="https://gitlab.com/drobilla/serd/-/raw/master/NEWS"
distfiles="https://download.drobilla.net/serd-${version}.tar.xz"
checksum=df7dc2c96f2ba1decfd756e458e061ded7d8158d255554e7693483ac0963c56b
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args="-Dtests=enabled"
else
configure_args="-Dtests=disabled"
fi
post_install() {
vlicense COPYING
}
serd-devel_package() {
depends="libserd>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libserd_package() {
short_desc+=" - Runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}