desktop/kdeconnect/PKGBUILD
2014-10-20 15:09:25 +00:00

40 lines
1011 B
Bash

# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributions from AUR: https://aur.archlinux.org/packages/kdeconnect/
pkgname=kdeconnect
pkgver=0.7.3
_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=('261e2b3412ed28e6f67e0ef2187b1854')
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
}