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:
parent
277817162d
commit
58d4a6217e
1 changed files with 41 additions and 0 deletions
41
kde/kpeoplevcard/APKBUILD
Normal file
41
kde/kpeoplevcard/APKBUILD
Normal 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"
|
Loading…
Reference in a new issue