void-packages/srcpkgs/libaccounts-qt5/template

28 lines
996 B
Bash

# Template file for 'libaccounts-qt5'
pkgname=libaccounts-qt5
version=1.16
revision=2
wrksrc="libaccounts-qt-VERSION_${version}-525ec684cfa8d234f797d7e49e21c476eea04d8e"
build_style=qmake
configure_args="LIBDIR=/usr/lib"
hostmakedepends="pkg-config doxygen qt5-qmake qt5-host-tools"
makedepends="libaccounts-glib-devel qt5-devel"
short_desc="Client library to the accounts database, with a Qt5-based API"
maintainer="John Rowley <enterthevoid@codesector.co>"
license="LGPL-2.1-only"
homepage="https://gitlab.com/accounts-sso/libaccounts-qt"
distfiles="${homepage}/repository/archive.tar.gz?ref=VERSION_${version}>${pkgname}-${version}.tar.gz"
checksum=286eb02f936853e32e610003a2a332a12524050d226707e7630b6a29bd3bdf66
libaccounts-qt5-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/share/doc/accounts-qt
vmove usr/lib/cmake
}
}