void-packages/srcpkgs/kleopatra/template

25 lines
902 B
Bash

# Template file for 'kleopatra'
pkgname=kleopatra
version=20.12.3
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules kdoctools qt5-qmake qt5-host-tools kcoreaddons gettext kconfig"
makedepends="kcmutils-devel AppStream kitemmodels-devel gpgmeqt-devel libkleo-devel kmime-devel"
depends="gnupg2"
checkdepends="dbus gnupg2"
short_desc="Certificate Manager and Unified Crypto GUI"
maintainer="Justin Jagieniak <justin@jagieniak.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2-or-later"
homepage="https://www.kde.org/applications/utilities/kleopatra/"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum="bf30f99bc6abd44d512ca8c53a7e81af625db72547a33df5c581101d787feaa0"
do_check() {
QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE \
dbus-run-session ninja -C build test
}
post_install() {
vdoc $FILESDIR/README.voidlinux
}