desktop/kdeconnect/PKGBUILD
2018-10-16 10:55:04 +02:00

37 lines
933 B
Bash

source ../kdeapps.conf
pkgname=kdeconnect
pkgver=1.3.2
pkgrel=1
epoch=1
pkgdesc='Adds communication between KDE and your smartphone'
arch=(x86_64)
url='https://community.kde.org/KDEConnect'
license=(GPL)
depends=(hicolor-icon-theme kcmutils kwayland libfakekey qca-qt5)
makedepends=(extra-cmake-modules kdoctools python3 qt5-declarative)
optdepends=('sshfs: remote filesystem browser'
'kde-cli-tools: configuration UI'
'qt5-declarative: QML bindings')
source=("https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-kde-$pkgver.tar.xz")
sha256sums=('85878e483280f86ef86aa3f6f3a3369abc2ecb6c9ce1875d0f0ad685ec99e421')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-kde-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}