From 58d4a6217e2885d9518da1794cf0598a3b5837fb Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Sat, 23 Nov 2019 13:17:44 +0530 Subject: [PATCH] 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.) --- kde/kpeoplevcard/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 kde/kpeoplevcard/APKBUILD diff --git a/kde/kpeoplevcard/APKBUILD b/kde/kpeoplevcard/APKBUILD new file mode 100644 index 000000000..151fd7e81 --- /dev/null +++ b/kde/kpeoplevcard/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Bhushan Shah +# Maintainer: Bhushan Shah +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"