aboutsummaryrefslogblamecommitdiffstats
path: root/community/kirigami-gallery/APKBUILD
blob: c4b940f0af974a60c4029dcac207698bfbd28a9b (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.08.3
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="e20a694f7482d5c907b3ae969ec3ffdc61ceb515789c825a0d5355fac8f2be69fcb8feae2a9b65bdde10f425918aa072bc14719c57ff7cb2442ae44045f5b99a  kirigami-gallery-20.08.3.tar.xz"