aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-2048/APKBUILD
blob: 4ba6d07876be88c3d92f8c63b071d0e40ecb8358 (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.4
pkgrel=1
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=debugoptimized \
		. output
	ninja -C output
}

check() {
	ninja test -C output
}

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

sha512sums="a085c77acef29241ddeab1c00f91dab3a6c51e3c1dc5baaafd25515a23dd5461e60b1423a96cb0830d844e96b1fd9ec81e9451cf8201329b59c31ad83b84fe27  gnome-2048-3.34.4.tar.xz"