desktop/kdeconnect/PKGBUILD

35 lines
862 B
Bash
Raw Normal View History

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
2016-01-19 18:40:00 +08:00
pkgver=0.9.g
_pkgver=0.9g
_pkgseries=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'
2016-01-19 18:32:29 +08:00
arch=(x86_64)
2015-11-11 22:54:58 +08:00
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')
2015-11-11 22:54:58 +08:00
install=$pkgname.install
2016-01-19 18:32:29 +08:00
screenshot=('http://albertvaka.files.wordpress.com/2013/08/kcm.png')
2016-01-19 18:40:00 +08:00
source=("http://download.kde.org/unstable/$pkgname/$_pkgseries/src/$pkgname-kde-$_pkgver.tar.xz")
2016-01-19 18:32:29 +08:00
sha1sums=('7f9d20800652588b61a417a0d3e0e699b68e61bd')
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
2016-01-19 18:40:00 +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
}