aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-09-17 16:38:44 +0200
committerBart Ribbers <bribbers@disroot.org>2021-09-17 16:38:44 +0200
commit595a9d924d6695b2a79117f67f5807db1d59fc3a (patch)
tree8d40451d2fd2cb6c586e410950b69a9c5e7ce742 /community
parentfe5fa7fb7af2ebcb8713804a317aaaa8ca710609 (diff)
downloadaports-595a9d924d6695b2a79117f67f5807db1d59fc3a.tar.gz
aports-595a9d924d6695b2a79117f67f5807db1d59fc3a.tar.bz2
aports-595a9d924d6695b2a79117f67f5807db1d59fc3a.tar.xz
community/rsibreak: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/rsibreak/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/community/rsibreak/APKBUILD b/community/rsibreak/APKBUILD
new file mode 100644
index 0000000000..c258ddeea0
--- /dev/null
+++ b/community/rsibreak/APKBUILD
@@ -0,0 +1,52 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=rsibreak
+pkgver=0.12.14
+pkgrel=0
+# armhf blocked by extra-cmake-modules
+# s390x, mips64 and riscv64 blocked by polkit -> kxmlgui
+arch="all !armhf !s390x !mips64 !riscv64"
+url="https://apps.kde.org/rsibreak/"
+pkgdesc="Takes care of your health and regularly breaks your work to avoid repetitive strain injury (RSI)"
+license="GPL-2.0-or-later"
+depends="frameworkintegration"
+makedepends="
+ extra-cmake-modules
+ kconfig-dev
+ kconfigwidgets-dev
+ kcrash-dev
+ kdbusaddons-dev
+ kdoctools-dev
+ ki18n-dev
+ kidletime-dev
+ knotifications-dev
+ knotifyconfig-dev
+ ktextwidgets-dev
+ kwindowsystem-dev
+ kxmlgui-dev
+ qt5-qtbase-dev
+ "
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/rsibreak/${pkgver%.*}/rsibreak-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="
+10de87ce892b0320dc6f5115985125c1e1e156022d6d0159dc64721ba2f4dbfdea0f8d2138d450fbfef8c11bedcd564df850cbeb7900dc480c94d44bf15ae997 rsibreak-0.12.14.tar.xz
+"