# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ksmtp pkgver=20.08.2 pkgrel=0 pkgdesc="Job-based library to send email through an SMTP server" arch="all !armhf" url="https://kontact.kde.org" license="LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kio-dev cyrus-sasl-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/release-service/$pkgver/src/ksmtp-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # Broken build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="3195e845ee5018e389295432a683fae4688d1105a38dbbe520493de75b8724d465b073657da7eb76879da6a40d26c6c40f33e9759bd948039df5ea537d1c8960 ksmtp-20.08.2.tar.xz"