aports/community/kcron/APKBUILD
2024-09-13 13:50:51 +00:00

48 lines
1.2 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=kcron
pkgver=24.08.1
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://kde.org/applications/system/"
pkgdesc="Configure and schedule tasks"
license="GPL-2.0-or-later"
makedepends="
extra-cmake-modules
kcmutils-dev
kconfigwidgets-dev
kdoctools-dev
ki18n-dev
kiconthemes-dev
kio-dev
qt6-qtbase-dev
samurai
"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/system/kcron.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kcron-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
bd8ec7b2aa115869e1f309a966ccd68214c8f767a455b2d0fbe3548599fa08f339f139c20aeb2148bd3d5a9c390e8fb5252f5a85a22ae011fb2cd818768477dd kcron-24.08.1.tar.xz
"