mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-13 01:32:13 +02:00
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
# 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-applications
|
|
pkgname=ktimer
|
|
pkgver=23.08.3
|
|
pkgrel=0
|
|
pkgdesc="A little tool to execute programs after some time"
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://kde.org/applications/utilities/org.kde.ktimer"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kconfig5-dev
|
|
kdbusaddons5-dev
|
|
kdoctools5-dev
|
|
ki18n5-dev
|
|
kio5-dev
|
|
knotifications5-dev
|
|
kwidgetsaddons5-dev
|
|
qt5-qtbase-dev
|
|
samurai
|
|
"
|
|
_repo_url="https://invent.kde.org/utilities/ktimer.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/ktimer-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DKF_IGNORE_PLATFORM_CHECK=ON # does not have metainfo.yaml
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
dffa299c171c0c676ab1e912c8f4636195a6d75cce69e13cb4d279b0248be7d6608a6d76f3f55d5966f0399b8b5c574e259a85025bb4b815853caa67e833c271 ktimer-23.08.3.tar.xz
|
|
"
|