aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-2048/APKBUILD
blob: d7659a3364ab2e9a637ca0eede29234b80f7d804 (plain) (blame)
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
34
35
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-2048
pkgver=3.34.5
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
	smaller-window.patch"
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 -C output test
}

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

sha512sums="78c5c41a23275a815a62e992781633b1ccbad405a9e491e9e2ebdb2fcfb7c2b989926fe3425834f0ebc529682d2df82653b0e7fbb8c3752b9454317738af8daf  gnome-2048-3.34.5.tar.xz
4d0f024d2cb3db1a5f3193a171958e81128bfec5e0a3e21d9942f508ea7a2427251eeca8904ea5088d49c9f32d327a2ee0f33e73cc1cb2df9e5fd38eb0d0b314  smaller-window.patch"