1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/filelight/APKBUILD
2023-03-02 18:06:28 +00:00

48 lines
1.3 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=filelight
pkgver=22.12.3
pkgrel=0
# armhf blocked by extra-cmake-modules
# s390x and riscv64 blocked by kio
arch="all !armhf !s390x !riscv64"
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
kxmlgui-dev
qt5-qtbase-dev
samurai
"
source="https://download.kde.org/stable/release-service/$pkgver/src/filelight-$pkgver.tar.xz
0001-Fix-musl-build.patch
"
subpackages="$pkgname-dbg $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
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
e456b5bc0f170801a4b2b5573564da8ae9424535a1f55664644fc314c26f562833221454965a50b0a89b0d41433aed0b22aa68c3e42224545ea0c2ed8dc4f3f9 filelight-22.12.3.tar.xz
db0d2fe06a3073c981814989edbaa97cd8b14fa05894c735273b30fc3f95c69207db22bd87db31a703d8f187d1b65827663d60192ba979b977ad51d4cdaa37ad 0001-Fix-musl-build.patch
"