summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e19bd35cb90ec0465a0f4c9838fda3120515e27 (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
34
# Maintainer: Daniel Playfair Cal (hedgepigdaniel) <daniel.playfair.cal@gmail.com>

pkgname=gtk-layer-shell-git
_pkgname=gtk-layer-shell
pkgver=r264.a79edbb
pkgrel=1
provides=(gtk-layer-shell)
conflicts=(gtk-layer-shell)
pkgdesc="A library to create desktop components for Wayland using the Layer Shell protocol"
arch=(x86_64)
url="https://github.com/wmww/gtk-layer-shell"
makedepends=(meson wayland gtk3 gobject-introspection)
source=("git+https://github.com/wmww/gtk-layer-shell.git")

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

prepare() {
  cd $_pkgname
}

build() {
  meson $_pkgname build --prefix=/usr
  ninja -C build
}

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

# vim:set sw=2 et:
md5sums=('SKIP')