void-packages/srcpkgs/libsfdo/template

32 lines
910 B
Bash
Raw Normal View History

2024-09-26 20:56:32 +02:00
# Template file for 'libsfdo'
pkgname=libsfdo
version=0.1.3
revision=1
build_style=meson
configure_args="-Dexamples=false"
short_desc="Libraries which implement some of the freedesktop.org specifications"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="BSD-2-Clause"
homepage="https://gitlab.freedesktop.org/vyivel/libsfdo"
changelog="https://gitlab.freedesktop.org/vyivel/libsfdo/-/releases"
distfiles="https://gitlab.freedesktop.org/vyivel/libsfdo/-/archive/v${version}/libsfdo-v${version}.tar.gz"
checksum=d1f2d8b5edec827fd386c22d6f9151377ec7c194dca4d293e3abad9df9974209
if [ -z "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -Dtests=false"
fi
post_install() {
vlicense LICENSE
}
libsfdo-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}