summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d348b08f5543a8e816eba5a7c57da117cc4c7a5b (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: Martin Stolpe <martin.stolpe[at]gmail{dot}com>
# Contributor Antonio Rojas <arojas [at] archlinux.org>

pkgname=plasma-wayland-protocols-git
pkgver=r1019.314fb1c
pkgrel=1
pkgdesc="Plasma Specific Protocols for Wayland"
arch=(any)
url="https://kde.org/plasma-desktop"
license=(LGPL)
depends=()
makedepends=(qt5-base extra-cmake-modules git)
source=("git+https://invent.kde.org/libraries/plasma-wayland-protocols")
sha256sums=('SKIP')
provides=('plasma-wayland-protocols')
conflicts=('plasma-wayland-protocols')

pkgver() {
  cd plasma-wayland-protocols
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cmake -B build -S plasma-wayland-protocols
  cmake --build build
}

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