# Maintainer: Bart Ribbers pkgname=plasma-dialer pkgver=0.1_git20200618 pkgrel=0 _commit="6be48498b6b93a8ce18ce923c2ea2d8f3d357e8b" pkgdesc="A dialer for Plasma Mobile" arch="all !armhf" # Blocked qt5-qtdeclarative url="https://invent.kde.org/plasma-mobile/plasma-dialer" license="GPL-2.0-or-later" depends="kirigami2" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev kpeople-dev kdbusaddons-dev knotifications-dev pulseaudio-dev telepathy-qt-dev libphonenumber-dev" source="https://invent.kde.org/plasma-mobile/plasma-dialer/-/archive/$_commit/plasma-dialer-$_commit.tar.gz" options="!check" # No tests builddir="$srcdir/$pkgname-$_commit" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="67e9ad2e5f80946598cbf573fd81f9e695d780d7001fc18afd736f3861ef19a7ba1227468ce2ff8d7b8adb9bcde4b1bf5c75958e824c1c52519c89ec4461e438 plasma-dialer-6be48498b6b93a8ce18ce923c2ea2d8f3d357e8b.tar.gz"