summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b3d9d568359f16c539a75cee5b5defd48b188755 (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
# Maintainer: justforlxz <justforlxz@gmail.com>

pkgname=wlr-protocols-git
pkgver=r105.4264185
pkgrel=1
pkgdesc='Wayland protocols designed for use in wlroots (and other compositors).'
arch=('any')
url="https://gitlab.freedesktop.org/wlroots/wlr-protocols"
license=('MIT')
depends=()
makedepends=('git' 'wayland')
provides=('wlr-protocols')
source=("$pkgname::git+https://gitlab.freedesktop.org/wlroots/wlr-protocols")
sha512sums=('SKIP')

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

build() {
  cd $pkgname
  make check
}

package() {
  cd $pkgname
  DESTDIR="$pkgdir" make install
}