summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e5819251d6e8ec626a5eaa92551257092d69fc5 (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-klotski-git
_pkgname=gnome-klotski
pkgver=3.36.3
pkgrel=1
pkgdesc="Slide blocks to solve the puzzle"
url="https://wiki.gnome.org/Apps/Klotski"
arch=(x86_64)
license=(GPL)
depends=('gtk3' 'librsvg' 'libgnome-games-support')
makedepends=('meson' 'gobject-introspection' 'yelp-tools' 'appstream-glib' 'vala' 'git')
provides=('gnome-klotski')
conflicts=('gnome-klotski')
source=("git+https://gitlab.gnome.org/GNOME/gnome-klotski.git")
sha512sums=('SKIP')

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

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

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

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