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

49 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=filelight
pkgver=24.08.1
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://kde.org/applications/utilities/filelight"
pkgdesc="An application to visualize the disk usage on your computer"
license="(GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only"
makedepends="
extra-cmake-modules
kdeclarative-dev
kdoctools-dev
ki18n-dev
kio-dev
kirigami-addons-dev
kxmlgui-dev
qt6-qtbase-dev
samurai
"
checkdepends="xvfb-run"
_repo_url="https://invent.kde.org/utilities/filelight.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/filelight-$pkgver.tar.xz"
subpackages="$pkgname-dbg $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 --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
af210d7a499d8ed2ac50fbb317e25517920b96eb72a1b6bc7ada337d46442dd7acf8744cda7581e68d8b293223d18154c95089d9886d5e7747bfc85be92bd37b filelight-24.08.1.tar.xz
"