Subject: [PATCH] testing/okteta: new aport

From: Bart Ribbers <[email-masked]>
Date: Wed, 25 Sep 2019 12:58:26 +0200

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

diff --git a/testing/okteta/APKBUILD b/testing/okteta/APKBUILD
new file mode 100644
index 0000000000..e311cc34b9
--- /dev/null
+++ b/testing/okteta/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=okteta
+pkgver=0.26.2
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/utilities/org.kde.okteta"
+pkgdesc="KDE hex editor for viewing and editing the raw data of files"
+license="(LGPL-2.1-only OR LGPL-3.0-only) AND (GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtscript-dev qt5-qtxmlpatterns-dev qt5-qttools-dev kbookmarks-dev kcompletion-dev kiconthemes-dev kcmutils-dev kio-dev knewstuff-dev kparts-dev kservice-dev kwidgetsaddons-dev kxmlgui-dev kcrash-dev kdbusaddons-dev kdoctools-dev kcodecs-dev kconfigwidgets-dev ki18n-dev qca-dev shared-mime-info"
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/okteta/$pkgver/src/okteta-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+	cmake \
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_INSTALL_LIBDIR=lib \
+		-DBUILD_DESKTOPPROGRAM=ON
+	make
+}
+
+check() {
+	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
+}
+
+package() {
+	DESTDIR="$pkgdir" make install
+}
+
+sha512sums="9d79cfecf80a7bfd4eb42ac8ee93d83140064601c16be0bed38481f7f0ea8ed2fa0aedfd16be3547f2bbd65ab483281e0ecdc0e59799040d67ecf1b4cda39246  okteta-0.26.2.tar.xz"
-- 
2.21.0