aboutsummaryrefslogblamecommitdiffstats
path: root/community/kpkpass/APKBUILD
blob: a18f2f647c5463b54e91c17a330211cc8d732dc6 (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=21.08.1
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="
339dceca81fc5ff502bee8bfadebf19156238587808289f093eedc7562eeb3ea6b0a04902ca3df3d253ed32af836563cf44b3cd2ed61c6ec013a0fc4859d8266  kpkpass-21.08.1.tar.xz
"