void-packages/srcpkgs/kleopatra/template

31 lines
1.2 KiB
Bash

# Template file for 'kleopatra'
pkgname=kleopatra
version=24.02.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules kf6-kdoctools qt6-base qt6-tools kf6-kcoreaddons gettext kf6-kconfig"
makedepends="kf6-kcmutils-devel AppStream kf6-kitemmodels-devel gpgme-qt6-devel
libkleo-devel kmime6-devel kf6-kstatusnotifieritem-devel
kf6-ktextwidgets-devel akonadi-mime-devel mimetreeparser-devel kmailtransport-devel
kidentitymanagement-devel kmbox-devel"
depends="gnupg>=2"
checkdepends="dbus gnupg"
short_desc="Certificate Manager and Unified Crypto GUI"
maintainer="Orphaned <orphan@voidlinux.org>"
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=07743853bb1b66ddf1c0a3f9861fcf21e716bc5e59d84078c02feb9f35c643c5
do_check() {
dbus-run-session ninja -C build test
}
post_install() {
vdoc $FILESDIR/README.voidlinux
}