mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=filelight
|
|
pkgver=21.04.3
|
|
pkgrel=0
|
|
# armhf blocked by extra-cmake-modules
|
|
# s390x, mips64 and riscv64 blocked by kio
|
|
arch="all !armhf !s390x !mips64 !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
|
|
kdoctools-dev
|
|
ki18n-dev
|
|
kio-dev
|
|
kxmlgui-dev
|
|
qt5-qtbase-dev
|
|
"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/filelight-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-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="
|
|
7f239b0bbef95a111407d85cd7da6f9523a3b12e8ab13a29b4a7f661315e47866bf04a9863464124edd14f4e35b4d45e23cfafe059bd325b7f9f6ed3fc416a7d filelight-21.04.3.tar.xz
|
|
"
|