# Maintainer: Neophytos Kolokotronis # Contributions from AUR: https://aur.archlinux.org/packages/kdeconnect/ pkgname=kdeconnect pkgver=0.8 _pkgver=${pkgver} pkgrel=1 pkgdesc='KDE Connect - kded and kcm' url='https://albertvaka.wordpress.com/2013/08/05/introducing-kde-connect/' license=('GPL') arch=('x86_64') depends=('kdelibs' 'qjson' 'qca-ossl' 'libfakekey') makedepends=('automoc4' 'cmake') optdepends=('sshfs: remote filesystem browser') install=kdeconnect.install screenshot=('http://albertvaka.files.wordpress.com/2013/08/kcm.png') source=("http://download.kde.org/unstable/kdeconnect/${_pkgver}/src/${pkgname}-kde-${pkgver}.tar.xz") md5sums=('7b84ebf785f44a1d022a1c0915555f5d') prepare() { mkdir -p build cd ${pkgname}-kde-${pkgver} } build() { cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_BUILD_TYPE=Release \ ../${pkgname}-kde-${pkgver} make } package() { cd build make DESTDIR=${pkgdir} install }