aports/community/kde-inotify-survey/APKBUILD
2024-09-13 13:50:51 +00:00

50 lines
1.4 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=kde-inotify-survey
pkgver=24.08.1
pkgrel=0
pkgdesc="Tooling for monitoring inotify limits and informing the user when they have been or about to be reached"
url="https://invent.kde.org/system/kde-inotify-survey"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
license="BSD-3-Clause AND (GPL-2.0-only OR GPL-3.0-only)"
# zstd is purely used to unpack the source archive
makedepends="
extra-cmake-modules
kauth-dev
kcoreaddons-dev
kdbusaddons-dev
ki18n-dev
kio-dev
knotifications-dev
polkit-qt-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
samurai
"
_repo_url="https://invent.kde.org/system/kde-inotify-survey.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kde-inotify-survey-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-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="
58f873e72dbcda4404ef3afb656ad8ad5413bda72395d7dad7c6861b8cfe3c481299a379c9196ae5e0b63afa32310b848092cd4015115c392761096b6da61ae8 kde-inotify-survey-24.08.1.tar.xz
"