aboutsummaryrefslogtreecommitdiffstats
path: root/community/kontactinterface
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-13 11:27:18 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-04-14 15:45:17 +0000
commit6a7b097fdd1f73d86fa227df38e07a5bced16e45 (patch)
treec1042e9b321c9dd5284b52956e19c101c1ae7c67 /community/kontactinterface
parent383b93ba96094cc294144dba2c793f03d6e14dc6 (diff)
downloadaports-6a7b097fdd1f73d86fa227df38e07a5bced16e45.tar.bz2
aports-6a7b097fdd1f73d86fa227df38e07a5bced16e45.tar.xz
community/kontactinterface: move from testing
Diffstat (limited to 'community/kontactinterface')
-rw-r--r--community/kontactinterface/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kontactinterface/APKBUILD b/community/kontactinterface/APKBUILD
new file mode 100644
index 0000000000..d015840cdc
--- /dev/null
+++ b/community/kontactinterface/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kontactinterface
+pkgver=19.12.3
+pkgrel=0
+arch="all !armhf"
+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/release-service/$pkgver/src/kontactinterface-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make -C build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make -C build install
+}
+
+sha512sums="c1d60b2a1bc09752ae8f1156c436babc7ef24cf7d4329f9f45d8fe7d558ec7f95160742707a57fc46ec4aa8b4ab0a20f773ed351b48b3cddb3ee5afcfa86e033 kontactinterface-19.12.3.tar.xz"