desktop/kdeconnect/PKGBUILD

36 lines
880 B
Bash
Raw Normal View History

2015-11-11 22:54:58 +08:00
# Maintainer: Chaoting Liu <brli@chakraos.org>
2015-11-15 20:49:25 +08:00
source ../kdeapps.conf
2013-10-27 19:29:03 +08:00
2015-11-11 22:56:09 +08:00
pkgname=kdeconnect
2015-11-15 20:49:25 +08:00
pkgver=0.9
2015-11-11 22:54:58 +08:00
pkgrel=1
2015-11-15 20:49:25 +08:00
epoch=1
pkgdesc='Adds communication between KDE and your smartphone'
2015-11-11 22:54:58 +08:00
arch=(i686 x86_64)
url='https://projects.kde.org/projects/playground/base/kdeconnect-kde'
license=(GPL2)
depends=(kio kcmutils qca-qt5 libfakekey hicolor-icon-theme kwayland) # telepathy-qt5 - requires 0.9.7
2015-11-15 20:49:25 +08:00
makedepends=(extra-cmake-modules python3)
2014-10-20 23:09:25 +08:00
optdepends=('sshfs: remote filesystem browser')
2013-11-06 21:47:14 +08:00
screenshot=('http://albertvaka.files.wordpress.com/2013/08/kcm.png')
2015-11-15 20:49:25 +08:00
source=("http://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-kde-$pkgver.tar.xz")
sha1sums=('f7e946c3e50ecf2057f2ee56c166ca914d759ae0')
2015-11-11 22:54:58 +08:00
install=$pkgname.install
2014-10-20 23:09:25 +08:00
2013-10-27 19:29:03 +08:00
prepare() {
2014-10-20 23:09:25 +08:00
mkdir -p build
2013-10-27 19:29:03 +08:00
}
2015-11-11 22:54:58 +08:00
2013-10-27 19:29:03 +08:00
build() {
2014-10-20 23:09:25 +08:00
cd build
2015-11-15 20:49:25 +08:00
cmake_kf5 ../kdeconnect-kde-$pkgver
2013-10-27 19:29:03 +08:00
make
}
2015-11-11 22:54:58 +08:00
2013-10-27 19:29:03 +08:00
package() {
2014-10-20 23:09:25 +08:00
cd build
2015-11-11 22:54:58 +08:00
make DESTDIR="$pkgdir" install
2013-10-27 19:29:03 +08:00
}