2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kpkpass
|
2019-03-13 08:32:18 +00:00
|
|
|
pkgver=18.12.3
|
2019-05-21 15:09:25 +00:00
|
|
|
pkgrel=1
|
2019-02-23 11:16:17 +00:00
|
|
|
pkgdesc="Apple Wallet Pass reader"
|
2018-10-08 06:50:31 +00:00
|
|
|
arch="all"
|
|
|
|
url='https://github.com/kde/kpkpass'
|
|
|
|
license="LGPL-2.1"
|
2019-02-23 11:16:17 +00:00
|
|
|
depends_dev="qt5-qtbase-dev karchive-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules shared-mime-info"
|
2018-10-08 06:50:31 +00:00
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev"
|
|
|
|
#options="!check" # Requires running X11 server
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
|
2018-10-08 06:50:31 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-23 11:16:17 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2018-10-08 06:50:31 +00:00
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-03-13 08:32:18 +00:00
|
|
|
sha512sums="c896f9ac3811b9a23495cceabb1d8b8f9b4d4937b4b8959154bad96c2b1fff97d34c2de23837c578a0b3f6a221de564e47f794aa14023016590c10bba4e7440f kpkpass-18.12.3.tar.xz"
|