aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-2048/APKBUILD
blob: fc609e906ff2776f349d595d84444dadb65060b8 (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
33
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-2048
pkgver=3.34.2
pkgrel=0
arch="all"
url="https://wiki.gnome.org/Apps/2048"
pkgdesc="Obtain the 2048 tile"
license="GPL-3.0-or-later"
makedepends="meson ninja itstool vala gtk+3.0-dev clutter-dev clutter-gtk-dev libgee-dev libgnome-games-support-dev"
source="https://download.gnome.org/sources/gnome-2048/${pkgver%.*}/gnome-2048-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja test -C output
}

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

sha512sums="17d9cc03d3f26e5bb83d68c5924ca80b260d61379fa682442ae6dc3a7dfe78bbb9b468062e31885f292ae692168750aef5d1a191b3000eec0357259568827447  gnome-2048-3.34.2.tar.xz"