aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kpkpass/APKBUILD
blob: ca4fb693afd8c9ad77e4d769a4c1b601b50ca533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kpkpass
pkgver=19.04.2
pkgrel=0
arch="all"
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/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="91ad760a8e21c9a67fcc59cd1d894c0e6944fb1b4e2bc548e1739e3983e7f61b5abc9c414fcb5dca356888fa64e85715b3ddeb8b4043ae6f5d56e7e2cac1b8a4  kpkpass-19.04.2.tar.xz"