2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=ksmtp
|
2019-02-23 11:16:17 +00:00
|
|
|
pkgver=18.12.2
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgrel=0
|
2019-02-23 11:16:17 +00:00
|
|
|
pkgdesc="Job-based library to send email through an SMTP server"
|
2018-10-08 06:50:31 +00:00
|
|
|
arch="all"
|
2019-02-23 11:16:17 +00:00
|
|
|
url="https://kontact.kde.org"
|
2018-10-08 06:50:31 +00:00
|
|
|
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 \
|
2019-02-23 11:16:17 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2018-10-08 06:50:31 +00:00
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-02-23 11:16:17 +00:00
|
|
|
sha512sums="483e1fbaabcb7059235c5747f550edb106905adf975460f4843a4bf4fbaac4683d3c560d4c949eab6b89debb787c4277f7035e079e7976ca404cc6b4739a2b74 ksmtp-18.12.2.tar.xz"
|