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

_pkgname=plasma-wayland-protocols
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/${_pkgname}")
sha256sums=('SKIP')
provides=(plasma-wayland-protocols)
conflicts=(plasma-wayland-protocols)

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

build() {
  cmake -B build -S ${_pkgname}
  cmake --build build
}

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