PKGBUILD 1.32 KB
Newer Older
AlmAck's avatar
AlmAck committed
1 2 3 4
# Include global configuration

pkgname="krdc"
arch=('x86_64')
5
pkgver=19.08.0
6
pkgrel=1
AlmAck's avatar
AlmAck committed
7 8 9 10 11 12 13 14 15 16
pkgdesc="Desktop Sharing Client"
url="http://kde.org/applications/internet/krdc/"
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')

17
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
18
sha256sums=('62c995dc1b6eabf2486d475ad089cb3e286d37c6927e4c5bd2455489f52a3e75'
Luca Giambonini's avatar
Luca Giambonini committed
19
            'SKIP')
20 21
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
AlmAck's avatar
AlmAck committed
22 23 24 25 26 27 28

prepare() {
    mkdir -p build
}

build() {
    cd build
29 30 31 32 33 34 35 36 37
    cmake ../${pkgname}-${pkgver} \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DKDE_INSTALL_LIBDIR=lib \
        -DKDE_INSTALL_SYSCONFDIR=/etc \
        -DKDE_INSTALL_LIBEXECDIR=lib \
        -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
        -DBUILD_TESTING=OFF \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
AlmAck's avatar
AlmAck committed
38 39 40 41 42 43 44
    make
}

package() {
    cd build
    make DESTDIR=${pkgdir} install
}