summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1220612382bd8cc588d7bab1ede2b42844f513b2 (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
pkgname=gnome-nibbles-git
_pkgname=gnome-nibbles
pkgver=3.35.90+14+g557e8e2
pkgrel=1
pkgdesc="Guide a worm around a maze"
url="https://wiki.gnome.org/Apps/Nibbles"
arch=(x86_64)
license=(GPL)
depends=('clutter-gtk' 'gsound' 'librsvg' 'libgnome-games-support' 'libgee')
makedepends=('gobject-introspection' 'yelp-tools' 'appstream-glib' 'vala' 'git' 'meson')
provides=('gnome-nibbles')
conflicts=('gnome-nibbles')
source=("git+https://gitlab.gnome.org/GNOME/gnome-nibbles.git")
sha512sums=('SKIP')

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

build() {
  arch-meson $_pkgname build
  ninja -C build
}

check() {
  meson test -C build --print-errorlogs
}

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