pmaports/kde/kpkpass/APKBUILD

36 lines
958 B
Text
Raw Normal View History

2018-10-08 06:50:31 +00:00
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kpkpass
pkgver=18.12.0
2018-10-08 06:50:31 +00:00
pkgrel=0
pkgdesc='Apple Wallet Pass reader'
arch="all"
url='https://github.com/kde/kpkpass'
license="LGPL-2.1"
depends=""
depends_dev=""
makedepends="$depends_dev extra-cmake-modules qt5-qtbase-dev karchive-dev shared-mime-info"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"
#options="!check" # Requires running X11 server
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="8c1fa70149544739b5b96f1c6b4a25ebade5fa944b004c8a32e19a759c8939cd402196d5a7f91962a2221d57050555349c777437b7ae79a73b3406f1be5a51f3 kpkpass-18.12.0.tar.xz"