28 lines
967 B
Bash
28 lines
967 B
Bash
# Template file for 'libaccounts-qt5'
|
|
pkgname=libaccounts-qt5
|
|
version=1.14
|
|
revision=1
|
|
build_style=qmake
|
|
short_desc="Client library to the accounts database, with a Qt5-based API"
|
|
maintainer="John Rowley <enterthevoid@codesector.co>"
|
|
license="LGPL-2.1"
|
|
homepage="https://gitlab.com/accounts-sso/libaccounts-qt"
|
|
distfiles="${homepage}/repository/archive.tar.gz?ref=VERSION_${version}>${pkgname}-${version}.tar.gz"
|
|
checksum="53d2e295b26295166db5c16333c91e32a599b36c2eee296b803ce39d6a99a8d9"
|
|
hostmakedepends="pkg-config doxygen"
|
|
makedepends="libaccounts-glib-devel qt5-devel"
|
|
wrksrc="${pkgname/5/}-VERSION_${version}-a34ca4b6d250529c900b0382559553b6e5885918"
|
|
configure_args="LIBDIR=/usr/lib"
|
|
|
|
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
|
|
}
|
|
}
|