summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 025a6ff823b11b47cf7c71bc203b5df43b0403b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: User8395 <therealuser8395@proton.me>
pkgname=plasma-remotecontrollers-git
pkgver=5.26.90.r398.g1e9014d
pkgrel=1
pkgdesc='Translate various input device events into keyboard and pointer events'
arch=(x86_64)
url='https://invent.kde.org/plasma-bigscreen/plasma-remotecontrollers'
license=(GPL2)
conflicts=(plasma-remotecontrollers)
depends=(plasma-workspace-git plasma-bigscreen-git)
makedepends=(extra-cmake-modules-git plasma-wayland-protocols-git libcec-git)
optdepends=('libcec: support for TV remotes')
source=(git+https://invent.kde.org/plasma-bigscreen/plasma-remotecontrollers.git)
sha256sums=('SKIP')

pkgver() {
  cd "plasma-remotecontrollers"
  git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cmake -B build -S plasma-remotecontrollers \
    -DBUILD_TESTING=OFF
  cmake --build build
}

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