PKGBUILD 821 Bytes
Newer Older
Bernhard Landauer's avatar
Bernhard Landauer committed
1
2
3
4
# Maintainer: Antonio Rojas <arojas@archlinux,org>
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=krfb
5
pkgver=22.04.1.r1491.gea5d2f4
Bernhard Landauer's avatar
Bernhard Landauer committed
6
7
8
9
10
11
pkgrel=1
pkgdesc='Desktop Sharing'
url='https://apps.kde.org/krfb/'
arch=(x86_64 aarch64)
license=(LGPL)
replaces=($pkgname-git)
12
depends=(kdnssd kxmlgui kwallet libvncserver pipewire kcompletion hicolor-icon-theme kwayland plasma-wayland-protocols)
Bernhard Landauer's avatar
Bernhard Landauer committed
13
14
15
16
makedepends=(git extra-cmake-modules kdoctools)
groups=(kde-applications kde-network)
source=("git+https://github.com/KDE/$pkgname.git")
sha256sums=('SKIP')
Manjaro Build Server's avatar
Manjaro Build Server committed
17
18
19

pkgver() {
  cd $pkgname
Manjaro Build Server's avatar
Manjaro Build Server committed
20
  _ver=22.04.1
Manjaro Build Server's avatar
Manjaro Build Server committed
21
22
  echo "${_ver}.r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}
Bernhard Landauer's avatar
Bernhard Landauer committed
23
24
25
26
27
28
29
30
31
32

build() {
  cmake -B build -S $pkgname \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}