2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=ksmtp
|
2019-01-06 14:10:19 +00:00
|
|
|
pkgver=18.12.0
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc='Job-based library to send email through an SMTP server'
|
|
|
|
arch="all"
|
|
|
|
url='https://github.com/kde/ksmtp'
|
|
|
|
license="LGPL-2.1"
|
|
|
|
depends=""
|
|
|
|
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/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev"
|
|
|
|
options="!check" # Broken
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-01-06 14:10:19 +00:00
|
|
|
sha512sums="3c5fcf2914f3de909f3f19959b362418046c7903bf8d6a208e761bf6cfab90f538b041624020c4881426ce5a8031a4759d8f40e66e58ddbe3743639ad7ea3c12 ksmtp-18.12.0.tar.xz"
|