aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kteatime
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-07-16 20:20:32 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-07-16 15:24:42 -0300
commitc4cbc71fa346a86863722a6298828a2a8300a432 (patch)
treef2e6d24c148e130f832680901420a9931ed042f7 /testing/kteatime
parentd88c90c5a4cf92ab9cd28ad41797c4933de4eada (diff)
downloadaports-c4cbc71fa346a86863722a6298828a2a8300a432.tar.bz2
aports-c4cbc71fa346a86863722a6298828a2a8300a432.tar.xz
testing/kteatime: new aport
Diffstat (limited to 'testing/kteatime')
-rw-r--r--testing/kteatime/APKBUILD31
1 files changed, 31 insertions, 0 deletions
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 <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+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"