42 lines
1003 B
Bash
42 lines
1003 B
Bash
# Template file for 'sord'
|
|
pkgname=sord
|
|
version=0.16.16
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config"
|
|
makedepends="serd-devel pcre-devel zix-devel"
|
|
short_desc="Lightweight C library for storing RDF data in memory"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="https://drobilla.net/software/sord.html"
|
|
changelog="https://gitlab.com/drobilla/sord/-/raw/master/NEWS"
|
|
distfiles="https://download.drobilla.net/sord-${version}.tar.xz"
|
|
checksum=257f876d756143da02ee84c9260af93559d6249dd87f317e70ab5fffcc975fd0
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args="-Dtests=enabled"
|
|
else
|
|
configure_args="-Dtests=disabled"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
sord-devel_package() {
|
|
depends="serd-devel zix-devel libsord>=${version}_${revision}"
|
|
short_desc+=" - Development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libsord_package() {
|
|
short_desc+=" - Runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|