45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
# Template file for 'signond'
|
|
pkgname=signond
|
|
version=8.61
|
|
revision=1
|
|
wrksrc="signond-VERSION_${version}"
|
|
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="${homepage}/-/archive/VERSION_${version}/signond-VERSION_${version}.tar.gz"
|
|
checksum=3dd57c25e1bf1583b2cb857f96831e38e73d40264ff66ca43e63bb7233f76828
|
|
|
|
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() {
|
|
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
|
|
}
|
|
}
|