aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kontactinterface/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kontactinterface/APKBUILD')
-rw-r--r--testing/kontactinterface/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kontactinterface/APKBUILD b/testing/kontactinterface/APKBUILD
new file mode 100644
index 0000000000..f777332514
--- /dev/null
+++ b/testing/kontactinterface/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kontactinterface
+pkgver=19.04.2
+pkgrel=0
+arch="all"
+url="https://kontact.kde.org/"
+pkgdesc="Kontact Plugin Interface Library"
+license="LGPL-2.0-only OR LGPL-3.0-only"
+depends_dev="kcoreaddons-dev kparts-dev kwindowsystem-dev ki18n-dev kxmlgui-dev kiconthemes-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"
+
+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="070f884e9cf18246107f92663280d36dff37f8c853d31a306d463fedc805e460c7ea358e4377f4cc9a49916e8b5677cf23eebefdd610f1fd9c4b74fea1c01efd kontactinterface-19.04.2.tar.xz"