# $Id: PKGBUILD 113762 2014-06-29 17:54:21Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Kuba Serafinowski pkgname=kdeconnect pkgver=0.7.1 pkgrel=1 pkgdesc='Adds communication between KDE and your smartphone' url='https://projects.kde.org/projects/playground/base/kdeconnect-kde' license=('GPL') arch=('i686' 'x86_64') depends=('kdelibs' 'qjson' 'qca-ossl') makedepends=('automoc4' 'cmake') optdepends=('sshfs: remote filesystem browser') install="${pkgname}.install" source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-kde-${pkgver}.tar.xz") md5sums=('bcf4525e8967a10771534e8b7a5b22d8') prepare() { mkdir build } build() { cd build cmake ../${pkgname}-kde-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_BUILD_TYPE=Release make } package() { cd build make DESTDIR="${pkgdir}" install }