aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ksmtp/APKBUILD
blob: ad90485ce9aa7674dc4f8db1468c8f12c24b7679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ksmtp
pkgver=19.12.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/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Broken

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="d55055f6a00ba7a7bb6de7983efecd7253a28e275fd3032d210599c5c020fb2869864e2f4b0cb38dcd3faba1b57fbb3e9f0c5f48000ca60d7737f213d00d666e  ksmtp-19.12.2.tar.xz"