void-packages/srcpkgs/libkleo/template

32 lines
915 B
Bash

# Template file for 'libkleo'
pkgname=libkleo
version=23.08.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules python3 qt5-qmake qt5-host-tools
gettext kcoreaddons kconfig"
makedepends="kitemmodels-devel kpimtextedit-devel gpgmeqt-devel
boost-devel gpgmepp-devel"
short_desc="KDE PIM cryptographic library"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/libkleo-${version}.tar.xz"
checksum=ccaf8b7ea9c16100ea5602be77b4661a582fddb6f14ede4c32ef23582cac0701
do_check() {
cd build
ctest -E 'newkeyapprovaldialogtest'
}
libkleo-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}