aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mailcommon
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mailcommon')
-rw-r--r--testing/mailcommon/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/mailcommon/APKBUILD b/testing/mailcommon/APKBUILD
new file mode 100644
index 0000000000..5c3d2b4dfa
--- /dev/null
+++ b/testing/mailcommon/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=mailcommon
+pkgver=19.04.2
+pkgrel=0
+pkgdesc="KDE PIM library providing support for mail applications"
+arch="all !ppc64le !s390x" # Limited by messagelib -> qt5-qtwebengine
+url="https://kontact.kde.org/"
+license="GPL-2.0-or-later"
+depends_dev="qt5-qtbase-dev karchive-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev ki18n-dev kiconthemes-dev kitemmodels-dev kitemviews-dev kio-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kdbusaddons-dev syntax-highlighting-dev akonadi-dev akonadi-mime-dev libkdepim-dev mailimporter-dev kmailtransport-dev messagelib-dev"
+makedepends="$depends_dev extra-cmake-modules"
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+options="!check" # Requires running dbus server
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="d30450d73eacc323e43273ff9ebfa61a5df6e08f5d98f9b900f534e3584f82922b632e71224d1cd6cb12d72bad50a7308dab13816f10e7d7f0ea9b68da6be31f mailcommon-19.04.2.tar.xz"