summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7f8cbd5420c44604fe8a39844baa1947190f11d (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-mines-git
_pkgname=gnome-mines
pkgver=3.36.0+27+g55fb096
pkgrel=1
pkgdesc="Clear hidden mines from a minefield"
url="https://wiki.gnome.org/Apps/Mines"
arch=(x86_64)
license=(GPL)
depends=('gtk3' 'librsvg' 'libgnome-games-support')
makedepends=('gobject-introspection' 'yelp-tools' 'appstream-glib' 'vala' 'git' 'meson')
provides=('gnome-mines')
conflicts=('gnome-mines')
source=("git+https://gitlab.gnome.org/GNOME/gnome-mines.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
}