void-packages/srcpkgs/qtkeychain-qt6/template

33 lines
1.0 KiB
Bash

# Template file for 'qtkeychain-qt6'
pkgname=qtkeychain-qt6
version=0.14.3
revision=1
build_style=cmake
configure_args="-DBUILD_WITH_QT6=ON
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs"
hostmakedepends="qt6-base qt6-tools pkg-config"
makedepends="qt6-base-devel libsecret-devel"
short_desc="Platform-independent Qt6 API for storing passwords securely"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-2-Clause"
homepage="https://github.com/frankosterfeld/qtkeychain"
changelog="https://raw.githubusercontent.com/frankosterfeld/qtkeychain/main/ChangeLog"
distfiles="https://github.com/frankosterfeld/${pkgname%-*}/archive/${version}.tar.gz"
checksum=a22c708f351431d8736a0ac5c562414f2b7bb919a6292cbca1ff7ac0849cb0a7
post_install() {
vlicense COPYING
vdoc "${FILESDIR}/README.voidlinux"
}
qtkeychain-qt6-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/qt6/mkspecs
}
}