aboutsummaryrefslogblamecommitdiffstats
path: root/community/kpkpass/APKBUILD
blob: 25517129a9b387decb64f78e2deb966bcc4ba285 (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=kpkpass
pkgver=20.12.2
pkgrel=0
arch="all !armhf"
url="https://kontact.kde.org/"
pkgdesc="Apple Wallet Pass reader"
license="GPL-2.0-or-later"
depends_dev="qt5-qtbase-dev karchive-dev"
makedepends="$depends_dev extra-cmake-modules shared-mime-info"
source="https://download.kde.org/stable/release-service/$pkgver/src/kpkpass-$pkgver.tar.xz"
subpackages="$pkgname-dev"

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="a5b858f802131b84632fc1c898a76d414b12ccf341a0a0f7a0850555b91a2e1a26528e6833c084fea49dc1b4054735311a318184afe580e87979335cc2690267  kpkpass-20.12.2.tar.xz"