34 lines
942 B
Bash
34 lines
942 B
Bash
# Template file for 'qtkeychain-qt5'
|
|
pkgname=qtkeychain-qt5
|
|
version=0.14.1
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
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_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
|
|
}
|
|
}
|