Subject: [PATCH] testing/kteatime: new aport

From: Bart Ribbers <[email-masked]>
Date: Tue, 16 Jul 2019 20:20:32 +0200

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

diff --git a/testing/kteatime/APKBUILD b/testing/kteatime/APKBUILD
new file mode 100644
index 0000000000..fab3373640
--- /dev/null
+++ b/testing/kteatime/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kteatime
+pkgver=19.04.3
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/utilities/org.kde.kteatime"
+pkgdesc="A handy timer for steeping tea"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev kcrash-dev kdoctools-dev ki18n-dev kiconthemes-dev knotifyconfig-dev knotifications-dev ktextwidgets-dev kxmlgui-dev kconfig-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$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="17275f87d536f1f9f470a8e2e4fdaae08c41e148e4ecabca1ae8b6becbf588cb40183d9395b2c8c3d5ee8d9b51f735c680e7048c5a9e612ec672cbee3848622c  kteatime-19.04.3.tar.xz"
-- 
2.22.0