# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdeconnect pkgver=1.3.1_git20180822 pkgrel=1 _commit="14994132f83d33edd2ef2bad29c8873d17610d24" pkgdesc="Adds communication between KDE and your smartphone" url="https://community.kde.org/KDEConnect" arch="all" license="GPL-2.0" depends="kirigami2" makedepends="extra-cmake-modules kdoctools-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev knotifications-dev kio-dev kcmutils-dev qca-dev plasma-framework-dev libexecinfo-dev qt5-qtdeclarative-dev" subpackages="$pkgname-doc" #$pkgname-lang is only available in the release package #source="https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-kde-$pkgver.tar.xz source="$pkgname-$_commit.tar.gz::https://github.com/KDE/$pkgname-kde/archive/$_commit.tar.gz" options="!check" # Requires running X11 server builddir="$srcdir/$pkgname-kde-$_commit" build() { cd "$builddir" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTING=ON \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DEXPERIMENTALAPP_ENABLED=true \ -DBUILD_TYPE=Release make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="a7c2381e1bbcca1e2ca0d1f3a0ff6d9d5759ea21a11fb5dc0de0992dca3c2ddbe4afc3adfa5685bb1b624bb3bcec4f58d43f1ea61324c23aaabc9835b1494373 kdeconnect-14994132f83d33edd2ef2bad29c8873d17610d24.tar.gz"