42 lines
968 B
Bash
42 lines
968 B
Bash
# Template file for 'sord'
|
|
pkgname=sord
|
|
version=0.16.14
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config"
|
|
makedepends="serd-devel pcre-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://drobilla.net/category/sord/"
|
|
distfiles="https://download.drobilla.net/sord-${version}.tar.xz"
|
|
checksum=220fd97d5fcb216e7b85db66f685bfdaad7dc58a50d1f96dfb2558dbc6c4731b
|
|
|
|
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 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.*"
|
|
}
|
|
}
|