void-packages/srcpkgs/libaccounts-qt5/template

28 lines
947 B
Bash

# Template file for 'libaccounts-qt5'
pkgname=libaccounts-qt5
version=1.16
revision=2
wrksrc="libaccounts-qt-VERSION_${version}"
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}/-/archive/VERSION_${version}/libaccounts-qt-VERSION_${version}.tar.gz"
checksum=3e527b151ee87e851b0f027214bda1353d8e48e10a5b54109f1e4b7d422a7de3
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
}
}