pkgname=plasma-phone-components pkgver=0_git20171220 pkgrel=0 _commit=1ebe7dbb7acf8577e76f568560f7d23a5d781875 pkgdesc="Modules providing phone functionality for Plasma" arch="all" url="https://community.kde.org/Plasma/Mobile" license="GPL3" depends="desktop-file-utils qt5-qtgraphicaleffects kactivities qt5-qtquickcontrols2 qt5-qtquickcontrols" makedepends="extra-cmake-modules kpeople-dev qt5-qtdeclarative-dev kactivities-dev plasma-framework-dev kservice-dev kdeclarative-dev ki18n-dev kio-dev kcoreaddons-dev kconfig-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kpackage-dev kwindowsystem-dev kdbusaddons-dev knotifications-dev kwayland-dev" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" source="$pkgname-$pkgver.tar.gz::https://github.com/kde/$pkgname/archive/$_commit.tar.gz unset-telepathy-dep.patch" builddir="$srcdir/$pkgname-$_commit" build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_INSTALL_DIR=lib \ -DLIBEXEC_INSTALL_DIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ -DCMAKE_BUILD_TYPE=Release make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir/" install } sha512sums="5002762a9e915d500ae548f9c1ffec2b072d3c308b77517c5c3fbfe264c3dd10987d7b10caacaba1f69ec935465672e529eee2aa21d3b1eed2b89059515da922 plasma-phone-components-0_git20171220.tar.gz deba478c29403c04e44a3007e64927fedaaf21e9207b834cd4c8574714d86f2e4f4bce0e6694d74eb151f11c4a8164b9a2e21c864aa823394a026395582dbccf unset-telepathy-dep.patch"