void-packages/srcpkgs/signond/template

37 lines
1.0 KiB
Bash

# Template file for 'signond'
pkgname=signond
version=8.59
revision=1
build_style=qmake
short_desc="Daemon providing SSO over D-Bus for the gSSO framework"
maintainer="John Rowley <enterthevoid@codesector.co>"
license="LGPL-2.1"
hostmakedepends="pkg-config doxygen"
makedepends="qt5-devel"
wrksrc="${pkgname}-VERSION_${version}-14f058c36208a551c80d0e98d76164fb87b2b8af"
configure_args="LIBDIR=/usr/lib"
conf_files="/etc/signond.conf"
homepage="https://gitlab.com/accounts-sso/signond"
distfiles="${homepage}/repository/archive.tar.gz?ref=VERSION_${version}>${pkgname}-${version}.tar.gz"
checksum=23f6658bf358cc09b858402ee0857db2a2809276625eb01673a0a77969740762
signond-doc_package() {
noarch=yes
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
}
}