diff --git a/srcpkgs/libaccounts-qt5/template b/srcpkgs/libaccounts-qt5/template index 37622063c29..506f8bdee8f 100644 --- a/srcpkgs/libaccounts-qt5/template +++ b/srcpkgs/libaccounts-qt5/template @@ -1,22 +1,19 @@ # Template file for 'libaccounts-qt5' pkgname=libaccounts-qt5 version=1.15 -revision=1 +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 " -license="LGPL-2.1" +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 -hostmakedepends="pkg-config doxygen" -makedepends="libaccounts-glib-devel qt5-devel" -wrksrc="${pkgname/5/}-VERSION_${version}-5b272ae218ccdf1f67f4eed92e2cdbe21c56ceb8" -configure_args="LIBDIR=/usr/lib" - -if [ -n "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-host-tools qt5-devel" -fi +nocross="libaccounts-glib can't be crosscompiled" libaccounts-qt5-devel_package() { short_desc+=" - development files"