void-packages/srcpkgs/kmailtransport/template

35 lines
1.1 KiB
Bash

# Template file for 'kmailtransport'
pkgname=kmailtransport
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 qt6-base python3 gettext
kf6-kcoreaddons kf6-kconfig"
makedepends="kf6-kconfig-devel kf6-kconfigwidgets-devel kf6-kio-devel libkgapi-devel
ksmtp-devel qtkeychain-qt6-devel"
short_desc="Mail Transport Service"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/kmailtransport-${version}.tar.xz"
checksum=28af3a90695c728b42584b7fae348f966c71f8b688f9d3792f646b55d660c65c
do_check() {
cd build
ctest -E '(smtpjob|akonadi-sqlite-attribute|akonadi-sqlite-messagequeuejob)test'
}
kmailtransport-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}