Subject: [PATCH v2 1/2] testing/khotkeys: new aport

From: Bart Ribbers <[email-masked]>
Date: Sat, 7 Sep 2019 14:20:12 +0200

---
 testing/khotkeys/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/khotkeys/APKBUILD

diff --git a/testing/khotkeys/APKBUILD b/testing/khotkeys/APKBUILD
new file mode 100644
index 0000000000..e644264cff
--- /dev/null
+++ b/testing/khotkeys/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=khotkeys
+pkgver=5.16.5
+pkgrel=0
+arch="all"
+url="https://www.kde.org/workspaces/plasmadesktop/"
+pkgdesc="Key Accelerator Application"
+license="GPL-2.0-only AND LGPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev kglobalaccel-dev ki18n-dev kio-dev kxmlgui-dev kdelibs4support-dev kdbusaddons-dev kcmutils-dev plasma-framework-dev plasma-workspace-dev kdoctools-dev"
+source="https://download.kde.org/stable/plasma/$pkgver/khotkeys-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+options="!check" # No tests
+
+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="f389396c058dc261a16f6a73f88babc24dc1d7226e35d798c77629bd3e15f1dc9bc2923f2eedb601df6517b168c251c8c6341f364ee14facf4d267e9e5358f34  khotkeys-5.16.5.tar.xz"
-- 
2.23.0

---

From: Bart Ribbers <[email-masked]>
Date: Sat, 7 Sep 2019 14:20:13 +0200

---
 testing/plasma/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testing/plasma/APKBUILD b/testing/plasma/APKBUILD
index e929ee21c3..75d3f8e6c8 100644
--- a/testing/plasma/APKBUILD
+++ b/testing/plasma/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Bart Ribbers <[email-masked]>
 pkgname=plasma
 pkgver=5.16.5
-pkgrel=0
+pkgrel=1
 pkgdesc="Plasma (Base) meta package"
 url="https://kde.org/plasma-desktop"
 arch="noarch !ppc64le !s390x" # Limited by plasma-workspace -> libksysguard -> qt5-qtwebengine
@@ -20,6 +20,7 @@ depends="
 	kde-gtk-config
 	kdeplasma-addons
 	kgamma5
+	khotkeys
 	kinfocenter
 	kscreen
 	ksshaskpass
-- 
2.23.0