void-packages/srcpkgs/qtkeychain-qt5/template
2017-04-02 19:31:52 +02:00

31 lines
848 B
Bash

# Template file for 'qtkeychain'
pkgname=qtkeychain-qt5
version=0.7.0
revision=1
wrksrc="${pkgname%-*}-${version}"
build_style=cmake
makedepends="qt5-tools-devel"
short_desc="Platform-independent Qt5 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=9f9afaae8e909391d7fc932bac95e38befaac5b2eb49f6623a8efec60a2e6a3a
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel"
fi
post_install() {
vlicense COPYING
}
qtkeychain-qt5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}