summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aadff4b06b22f1873bb25bf87f97dc6345cb9095 (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: Ricardo Liang (rliang) <ricardoliang@gmail.com>

_pkgname=mutter
pkgname="$_pkgname"-git
pkgver=3.31.2+194+gfb38738fe
pkgrel=1
pkgdesc="A window manager for GNOME"
url="https://gitlab.gnome.org/GNOME/mutter"
arch=(x86_64)
license=(GPL)
provides=(mutter)
conflicts=(mutter)
depends=(dconf gobject-introspection-runtime gsettings-desktop-schemas-git libcanberra
         startup-notification zenity libsm gnome-desktop upower libxkbcommon-x11
         gnome-settings-daemon libgudev libinput pipewire)
makedepends=(gtk-doc gobject-introspection git egl-wayland meson)
groups=(gnome)
source=("git+https://gitlab.gnome.org/GNOME/mutter.git")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

build() {
  arch-meson $_pkgname build -D gtk_doc=true
  ninja -C build
}

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