desktop/kdeconnect/PKGBUILD

37 lines
933 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
2018-12-03 02:40:24 +08:00
pkgver=1.3.3
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)
2018-04-09 22:02:48 +08:00
url='https://community.kde.org/KDEConnect'
2018-10-16 16:55:04 +08:00
license=(GPL)
depends=(hicolor-icon-theme kcmutils kwayland libfakekey qca-qt5)
makedepends=(extra-cmake-modules kdoctools python3 qt5-declarative)
2018-04-09 22:02:48 +08:00
optdepends=('sshfs: remote filesystem browser'
2018-10-16 16:55:04 +08:00
'kde-cli-tools: configuration UI'
2018-04-09 22:02:48 +08:00
'qt5-declarative: QML bindings')
source=("https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-kde-$pkgver.tar.xz")
2018-12-03 02:40:24 +08:00
sha256sums=('4f3f7709255757233bd6406acb0bff9c30e0e2a36737154ce63afb1a78054ced')
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
2018-10-16 16:55:04 +08:00
cmake ../$pkgname-kde-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib
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
}