mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 19:14:48 +02:00
55 lines
1.4 KiB
Text
55 lines
1.4 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: team/kde <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-other
|
|
pkgname=rsibreak
|
|
pkgver=0.12.15
|
|
pkgrel=2
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
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="frameworkintegration5"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kconfig5-dev
|
|
kconfigwidgets5-dev
|
|
kcrash5-dev
|
|
kdbusaddons5-dev
|
|
kdoctools5-dev
|
|
ki18n5-dev
|
|
kidletime5-dev
|
|
knotifications5-dev
|
|
knotifyconfig5-dev
|
|
ktextwidgets5-dev
|
|
kwindowsystem5-dev
|
|
kxmlgui5-dev
|
|
qt5-qtbase-dev
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
_repo_url="https://invent.kde.org/utilities/rsibreak.git"
|
|
source="https://download.kde.org/stable/rsibreak/${pkgver%.*}/rsibreak-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
xvfb-run ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
8178387716b9d611a33ce72070bae1c3d55ad098100a701fcae9f40a8db4bb29eda364a799223a6fea5671e44e0a5a41aa2b6dff2fb50a832221e468c17de87b rsibreak-0.12.15.tar.xz
|
|
"
|