void-packages/srcpkgs/qtkeychain/template

31 lines
779 B
Bash

# Template file for 'qtkeychain'
pkgname=qtkeychain
version=0.6.2
revision=2
build_style=cmake
makedepends="icu-devel qt-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="qt-devel"
fi
post_install() {
vlicense COPYING
}
qtkeychain-devel_package() {
depends="qtkeychain>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}