aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ksmtp/APKBUILD
blob: 61e0fc76542e1efdccbcce79485e3bce75834968 (plain) (blame)
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=1
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=None \
		-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"