32 lines
867 B
Bash
32 lines
867 B
Bash
# Template file for 'qtkeychain'
|
|
pkgname=qtkeychain-qt5
|
|
version=0.6.2
|
|
revision=1
|
|
wrksrc=${pkgname%-*}-${version}
|
|
build_style=cmake
|
|
makedepends="icu-devel qt5-devel qt5-tools-devel"
|
|
short_desc="Platform-independent Qt API for storing passwords securely"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="2-clause-BSD"
|
|
homepage="https://github.com/frankosterfeld/qtkeychain"
|
|
distfiles="https://github.com/frankosterfeld/${pkgname%-*}/archive/v${version}.tar.gz"
|
|
checksum=ae13459234feeeab3a154457319d9b26ee9600973443517c77e055838ebae63c
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-tools-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
qtkeychain-qt5-devel_package() {
|
|
depends="qtkeychain-qt5>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|