void-packages/srcpkgs/kleopatra/template

25 lines
900 B
Bash

# Template file for 'kleopatra'
pkgname=kleopatra
version=21.04.0
revision=1
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=c03bc7147e35d2994a0a7d323108d6b34e2e2c70768a5481bec3b04da7b6a870
do_check() {
QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE \
dbus-run-session ninja -C build test
}
post_install() {
vdoc $FILESDIR/README.voidlinux
}