aboutsummaryrefslogblamecommitdiffstats
path: root/community/kirigami-gallery/APKBUILD
blob: d2063db5e8d6e7329314dec2649f4f6e20da99e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
              
        
                                                                   




                                                                                                       
                                                                                                    

                           
         
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                              
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kirigami-gallery
pkgver=20.12.2
pkgrel=0
arch="all !armhf" # armhf blocked by kirigami2 -> qt5-qtdeclarative
url="https://kde.org/applications/development/org.kde.kirigami2.gallery"
pkgdesc="Gallery application built using Kirigami"
license="LGPL-2.0-or-later"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev qt5-qttools-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kirigami-gallery-$pkgver.tar.xz"
subpackages="$pkgname-lang"

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="964e399b9ef7b438efa4867c9fa3b0d77c13ba0850cab5374fdcd6f09ffccfd692e0535fe44154372693ab04998870abb68f153619e346a4ab01c9e053a81c06  kirigami-gallery-20.12.2.tar.xz"