desktop/kdeconnect/PKGBUILD

33 lines
816 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
2017-09-19 20:06:07 +08:00
pkgver=1.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)
2017-09-19 20:06:07 +08:00
depends=(kio kcmutils qca-qt5 libfakekey hicolor-icon-theme kwayland telepathy-qt5)
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')
2017-09-19 20:06:07 +08:00
source=("https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-kde-$pkgver.tar.xz")
sha1sums=('f08563482ccce0d443aa281395d401c6472b8078')
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
}