summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8979f7669f0cca6f9867d9c06890b817a7e00c73 (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-robots-git
_pkgname=gnome-robots
pkgver=3.37.2+2+g40c285d
pkgrel=1
pkgdesc="Avoid the robots and make them crash into each other"
url="https://wiki.gnome.org/Apps/Robots"
arch=(x86_64)
license=(GPL)
depends=('gtk3' 'gsound' 'librsvg' 'libgnome-games-support')
makedepends=('meson' 'gobject-introspection' 'yelp-tools' 'appstream-glib' 'git')
provides=('gnome-robots')
conflicts=('gnome-robots')
source=("git+https://gitlab.gnome.org/GNOME/gnome-robots.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
}