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"