vp-build/srcpkgs/libaccounts-qt5/template

29 lines
1020 B
Bash

# Template file for 'libaccounts-qt5'
pkgname=libaccounts-qt5
version=1.15
revision=2
wrksrc="${pkgname/5/}-VERSION_${version}-5b272ae218ccdf1f67f4eed92e2cdbe21c56ceb8"
build_style=qmake
configure_args="LIBDIR=/usr/lib"
hostmakedepends="pkg-config doxygen"
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=cfa826076e04a7d075baac12e73f4e890a3401ac30c7f80ed9e257a5c6bfbfef
nocross="libaccounts-glib can't be crosscompiled"
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
}
}