summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 515d8c913fca7494e7ddc34e704b0323f12b4087 (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
# Maintainer: Rafael Fontenelle <rafaelff@gnome.org>

_name=gnome-2048
pkgname=$_name-git
pkgver=3.31.4+30+g9179407
pkgrel=1
pkgdesc="Obtain the 2048 tile"
arch=(x86_64)
url="https://wiki.gnome.org/Apps/2048"
license=(GPL)
depends=(clutter-gtk libgnome-games-support)
makedepends=(git meson appstream-glib yelp-tools vala)
provides=($_name)
conflicts=($_name)
source=("git+https://gitlab.gnome.org/GNOME/$_name.git")
md5sums=('SKIP')

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

build() {
  arch-meson $_name build -D b_pie='false'
  ninja -C build
}

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