void-packages/srcpkgs/kmailtransport/template

35 lines
1.1 KiB
Bash

# Template file for 'kmailtransport'
pkgname=kmailtransport
version=24.05.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 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=5063abf578b786f9668c149c2b176119c1bdc006057c3b4c0df610a687311e86
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"
}
}