summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 381ecac1a261cb807201953b629452ef189aaac4 (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
32
33
# Maintainer:Martin Stolpe <martin dot stolpe at gmail dot com>
# Contributor:Antonio Rojas <arojas@archlinux.org>

_pkgname=kwayland-integration
pkgname=kwayland-integration-git
pkgver=r157.7632cc5
pkgrel=1
pkgdesc='Provides integration plugins for various KDE frameworks for the wayland windowing system'
arch=(x86_64)
url='https://www.kde.org/workspaces/plasmadesktop/'
license=(LGPL)
depends=(kwindowsystem-git kidletime-git kwayland-git kguiaddons-git)
makedepends=(extra-cmake-modules)
groups=(plasma)
conflicts=(kwayland-integration)
provides=(kwayland-integration)
source=("git+https://invent.kde.org/plasma/$_pkgname.git")
sha256sums=('SKIP')

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

build() {
  cmake -B build -S cd $srcdir/$_pkgname \
    -DBUILD_TESTING=OFF
  cmake --build build
}

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