void-packages/srcpkgs/signond/template

37 lines
1.0 KiB
Bash

# Template file for 'signond'
pkgname=signond
version=8.58
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}-aa1bcf3c9218addbdb376a40151b689409046125"
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=301e2e3b6919585c8ffc56f73ec1f0f9b18a533e1db88461e9fa4e2acf75a34a
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
}
}