39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# Template file for 'qtkeychain-qt5'
|
|
pkgname=qtkeychain-qt5
|
|
version=0.14.1
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config kwallet"
|
|
makedepends="libsecret-devel qt5-tools-devel"
|
|
short_desc="Platform-independent Qt5 API for storing passwords securely"
|
|
maintainer="yopito <pierre.bourgin@free.fr>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/frankosterfeld/qtkeychain"
|
|
distfiles="https://github.com/frankosterfeld/${pkgname%-*}/archive/${version}.tar.gz"
|
|
checksum=afb2d120722141aca85f8144c4ef017bd74977ed45b80e5d9e9614015dadd60c
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-tools-devel"
|
|
fi
|
|
|
|
post_patch() {
|
|
# ensure it's not used (see dedicated patch)
|
|
rm org.kde.KWallet.xml
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|
|
|
|
qtkeychain-qt5-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} libsecret-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/qt5/mkspecs
|
|
}
|
|
}
|