35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'libkleo'
|
|
pkgname=libkleo
|
|
version=24.08.1
|
|
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 python3 qt6-base qt6-tools
|
|
gettext kf6-kcoreaddons kf6-kconfig"
|
|
makedepends="kf6-kitemmodels-devel kpimtextedit-devel gpgme-qt6-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=c982580f8c1bcebf1a214625dc9fff8842be62e47e8951755ff1ca7e522e2d18
|
|
|
|
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/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|