kde/kpeoplevcard: new aport (!766)

This is runtime dependency of kpeople, without this plugin kpeople can't
be actually functional. (Maybe this can even be upstream'd to alpine,
but at moment it doesn't have actual release.)
This commit is contained in:
Bhushan Shah 2019-11-23 13:17:44 +05:30 committed by Oliver Smith
parent 277817162d
commit 58d4a6217e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

41
kde/kpeoplevcard/APKBUILD Normal file
View file

@ -0,0 +1,41 @@
# Contributor: Bhushan Shah <bshah@kde.org>
# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=kpeoplevcard
pkgver=0_git20190918
pkgrel=0
_commit="d91281414eb1bb45212a707af8805995cdbfd41f"
pkgdesc="KPeople backend using vcard storage"
arch="all"
url="https://phabricator.kde.org/source/kpeoplevcard"
license="GPL-2.0-only OR GPL-3.0-only"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev kpeople-dev kcontacts-dev"
source="pkgname-$_commit.tar.gz::https://github.com/kde/kpeoplevcard/archive/$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() {
cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
}
sha512sums="3b0977a16f6d7b07b0fcdeb5be8c06f6a2098ea06cd4c53282c75db854017fa7dfcac3ecbcc6b6efb4b5321c19486bb88cee2137dbc75c54837499e2a41b0a0f pkgname-d91281414eb1bb45212a707af8805995cdbfd41f.tar.gz"