aboutsummaryrefslogblamecommitdiffstats
path: root/community/filelight/APKBUILD
blob: 630a8d847bdc837386f7fcf51fe724211d669da0 (plain) (tree)
1
2
3
4
5
6
7
8


                                                  
              
        

                                      
                                


                                                                     







                           
                                                                                             



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                       
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=filelight
pkgver=20.12.2
pkgrel=0
# armhf blocked by extra-cmake-modules
# s390x blocked by kxmlgui
arch="all !armhf !s390x !mips64"
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 --build build --target install
}

sha512sums="b43f4b1a31898860b8c128a9b1117e490cdbacced4e36cfaac52921ef1697551592deeeea014b2723080074c6c65ac47e356276a35a0cfd034a989904876c72d  filelight-20.12.2.tar.xz"