desktop/kdeconnect/PKGBUILD

40 lines
1011 B
Bash
Raw Normal View History

2013-10-27 19:29:03 +08:00
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributions from AUR: https://aur.archlinux.org/packages/kdeconnect/
pkgname=kdeconnect
2014-10-20 23:09:25 +08:00
pkgver=0.7.3
2014-07-01 13:41:01 +08:00
_pkgver=${pkgver}
pkgrel=1
2013-10-27 19:29:03 +08:00
pkgdesc='KDE Connect - kded and kcm'
url='https://albertvaka.wordpress.com/2013/08/05/introducing-kde-connect/'
license=('GPL')
arch=('x86_64')
2014-10-20 23:09:25 +08:00
depends=('kdelibs' 'qjson' 'qca-ossl' 'libfakekey')
2013-10-27 19:29:03 +08:00
makedepends=('automoc4' 'cmake')
2014-10-20 23:09:25 +08:00
optdepends=('sshfs: remote filesystem browser')
2013-10-27 19:29:03 +08:00
install=kdeconnect.install
2013-11-06 21:47:14 +08:00
screenshot=('http://albertvaka.files.wordpress.com/2013/08/kcm.png')
2014-05-17 02:45:37 +08:00
source=("http://download.kde.org/unstable/kdeconnect/${_pkgver}/src/${pkgname}-kde-${pkgver}.tar.xz")
2014-10-20 23:09:25 +08:00
md5sums=('261e2b3412ed28e6f67e0ef2187b1854')
2013-10-27 19:29:03 +08:00
prepare() {
2014-10-20 23:09:25 +08:00
mkdir -p build
cd ${pkgname}-kde-${pkgver}
2013-10-27 19:29:03 +08:00
}
build() {
2014-10-20 23:09:25 +08:00
cd build
2013-10-27 19:29:03 +08:00
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DKDE4_BUILD_TESTS=OFF \
2014-10-20 23:09:25 +08:00
-DCMAKE_BUILD_TYPE=Release \
2013-11-08 09:28:53 +08:00
../${pkgname}-kde-${pkgver}
2013-10-27 19:29:03 +08:00
make
}
package() {
2014-10-20 23:09:25 +08:00
cd build
2013-10-27 19:29:03 +08:00
make DESTDIR=${pkgdir} install
}