2019-10-11 15:27:17 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=plasma-phonebook
|
2020-03-13 10:16:17 +00:00
|
|
|
pkgver=0_git20200308
|
2019-10-11 15:27:17 +00:00
|
|
|
pkgrel=0
|
2020-03-13 10:16:17 +00:00
|
|
|
_commit="fa6c2292ca276a92eeb3a006fc1cddf9d663d3dd"
|
2019-10-11 15:27:17 +00:00
|
|
|
pkgdesc="Contacts application which allows adding, modifying and removing contacts"
|
2020-03-18 16:50:35 +00:00
|
|
|
arch="all !armhf"
|
2019-10-11 15:27:17 +00:00
|
|
|
url="https://invent.kde.org/kde/plasma-phonebook"
|
|
|
|
license="GPL-2.0-only OR GPL-3.0-only"
|
|
|
|
depends="kirigami2"
|
2020-03-13 10:16:17 +00:00
|
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev kpeople-dev kcontacts-dev kpeoplevcard-dev"
|
2019-10-11 15:27:17 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/plasma-phonebook/-/archive/$_commit.tar.gz"
|
|
|
|
options="!check" # No tests
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
build() {
|
2020-03-13 10:16:17 +00:00
|
|
|
cmake -B build \
|
|
|
|
-DCMAKE_BUILD_TYPE=None \
|
2019-10-11 15:27:17 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2020-03-13 10:16:17 +00:00
|
|
|
make -C build
|
2019-10-11 15:27:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2020-03-18 16:50:35 +00:00
|
|
|
cd build
|
2019-10-11 15:27:17 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-03-13 10:16:17 +00:00
|
|
|
DESTDIR="$pkgdir" make -C build install
|
2019-10-11 15:27:17 +00:00
|
|
|
}
|
2020-03-13 10:16:17 +00:00
|
|
|
sha512sums="c208416e5874278044f35ed70272649fc6d52e3eaf01771c123a45b69d78e6d8c28aa189144e493f472fbf2867b0cd9ea979c813d2e03c4faf0e777c9a1b8d56 plasma-phonebook-fa6c2292ca276a92eeb3a006fc1cddf9d663d3dd.tar.gz"
|