void-packages/srcpkgs/signond/template

45 lines
1.2 KiB
Bash

# Template file for 'signond'
pkgname=signond
version=8.60
revision=2
wrksrc="signond-VERSION_${version}-4d195e4dc7a47ff5cb51e36a83d4d05808c5befe"
build_style=qmake
configure_args="LIBDIR=/usr/lib"
conf_files="/etc/signond.conf"
hostmakedepends="pkg-config doxygen qt5-host-tools qt5-qmake"
makedepends="qt5-devel"
short_desc="Daemon providing SSO over D-Bus for the gSSO framework"
maintainer="John Rowley <enterthevoid@codesector.co>"
license="LGPL-2.1-only"
homepage="https://gitlab.com/accounts-sso/signond"
distfiles="https://gitlab.com/accounts-sso/signond/repository/archive.tar.gz?ref=VERSION_${version}>signond-${version}.tar.gz"
checksum=a9cd90cf3e8b1a8bdbe5acf46c797a817092e77946c69fc3ed3a76930f3a76aa
pre_configure() {
if [ "$CROSS_BUILD" ]; then
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"
for i in ${XBPS_CROSS_BASE}/usr/include/qt5/*; do
CXXFLAGS+=" -I$i"
done
fi
}
signond-doc_package() {
archs=noarch
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
}
}
signond-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/cmake
}
}