summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 19d8ef2c2535e9986641a3364e7e719de7a67ad8 (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=(${_pkgname})
conflicts=(${_pkgname})

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
}