mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
36 lines
828 B
Bash
36 lines
828 B
Bash
|
# Include global configuration
|
||
|
source ../kdeapps.conf
|
||
|
|
||
|
pkgname="krdc"
|
||
|
arch=('x86_64')
|
||
|
pkgver=${_kdever}
|
||
|
pkgrel=1
|
||
|
pkgdesc="Desktop Sharing Client"
|
||
|
url="http://kde.org/applications/internet/krdc/"
|
||
|
install=kdenetwork.install
|
||
|
license=('GPL' 'LGPL' 'FDL')
|
||
|
groups=(kde kde-applications kdenetwork kde-uninstall)
|
||
|
depends=('kcmutils' 'kdnssd' 'knotifyconfig' 'libvncserver' 'rdesktop' 'telepathy-qt5' 'freerdp')
|
||
|
makedepends=(extra-cmake-modules kdoctools)
|
||
|
conflicts=(kdenetwork-krdc)
|
||
|
replaces=(kdenetwork-krdc)
|
||
|
options=('docs' 'debug')
|
||
|
|
||
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
||
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake_kf5 ../${pkgname}-${pkgver}
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|