aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-20 15:12:25 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 19:26:42 -0300
commitde3e8ac0275f1b76fc3c32efba53172caecd741d (patch)
tree4c501bcbd9fcb764d295751f0dadb946df0e1102
parent568d724f35f868fa782f695350780c8285146f7b (diff)
downloadaports-de3e8ac0275f1b76fc3c32efba53172caecd741d.tar.bz2
aports-de3e8ac0275f1b76fc3c32efba53172caecd741d.tar.xz
testing/ksmtp: new aport
-rw-r--r--testing/ksmtp/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/ksmtp/APKBUILD b/testing/ksmtp/APKBUILD
new file mode 100644
index 0000000000..2e2162961f
--- /dev/null
+++ b/testing/ksmtp/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=ksmtp
+pkgver=19.04.2
+pkgrel=0
+pkgdesc="Job-based library to send email through an SMTP server"
+arch="all"
+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/applications/$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="3cfa70f66f4e044f3932272d1ae6a1c8b49110c1d669ecf9ee3ba75c97a02083356f6381fc82b0a9bd6936176171378c0bba142d511207fdb62bcf3421fef8f0 ksmtp-19.04.2.tar.xz"