void-packages/srcpkgs/kmailtransport/template

35 lines
1.1 KiB
Bash

# Template file for 'kmailtransport'
pkgname=kmailtransport
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 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=27f322451b69d445362cf70a8e7c92077e8ed8b2548e1949057a4d137cba306f
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"
}
}