desktop/kdeconnect/PKGBUILD

33 lines
836 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-11-12 21:40:23 +08:00
pkgver=1.0.2
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
2016-08-27 06:33:21 +08:00
makedepends=(extra-cmake-modules python3 kdoctools)
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-10-11 18:47:15 +08:00
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-kde-$pkgver.tar.xz")
2016-11-12 21:40:23 +08:00
sha1sums=('f7d64dd0220bec902504675334ce6cdffa0e48c5')
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-10-11 18:47:15 +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
}