# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-phonebook pkgver=0_git20191203 pkgrel=0 _commit="44a336c04684fe86eab2ef62c4abf2484996223d" pkgdesc="Contacts application which allows adding, modifying and removing contacts" arch="all" url="https://invent.kde.org/kde/plasma-phonebook" license="GPL-2.0-only OR GPL-3.0-only" depends="kirigami2" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev kpeople-dev kcontacts-dev" source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/plasma-phonebook/-/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="2c43c7faa4870f30bc5186e2f9c66c27ee0a71b4df7b946d2fbcfa0654f644ae6efcd2395aa9ccd07278f2439e78929ece2823d9927d2250021f90caf4100f43 plasma-phonebook-44a336c04684fe86eab2ef62c4abf2484996223d.tar.gz"