32 lines
968 B
Bash
32 lines
968 B
Bash
# Template file for 'kmailtransport'
|
|
pkgname=kmailtransport
|
|
version=23.04.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
|
|
gettext kcoreaddons kconfig"
|
|
makedepends="akonadi-mime-devel kcmutils-devel ksmtp-devel libkgapi-devel
|
|
qtkeychain-qt5-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=431cd1d663b41b7de08b692a6fa6863c6e9fed5c245410caea48179fb396c6af
|
|
|
|
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/qt5/mkspecs
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|