1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
6 pkgdesc="Obtain the 2048 tile"
7 url="https://wiki.gnome.org/Apps/2048"
13 libgnome-games-support
23 _commit=82f155f326a9e1973d7283bfa3f7cbb756a9984a # tags/3.38.2^0
24 source=("git+https://gitlab.gnome.org/GNOME/gnome-2048.git#commit=$_commit")
29 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
35 # Fix build with newer meson
36 git cherry-pick -n 194e22699f7166a016cd39ba26dd719aeecfc868
40 arch-meson $pkgname build
41 meson compile -C build
45 meson test -C build --print-errorlogs
49 meson install -C build --destdir "$pkgdir"
52 # vim:set sw=2 sts=-1 et: