aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libgnome-games-support/APKBUILD
blob: f526736aaf2d54030a917fc306c740a1f8659114 (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=libgnome-games-support
pkgver=1.4.4
pkgrel=1
arch="all"
url="https://gitlab.gnome.org/GNOME/libgnome-games-support"
pkgdesc="Code shared between GNOME games"
license="LGPL-3.0-or-later"
makedepends="meson ninja vala libgee-dev gtk+3.0-dev"
source="https://download.gnome.org/sources/libgnome-games-support/${pkgver%.*}/libgnome-games-support-$pkgver.tar.xz
	meson-support.patch"
subpackages="$pkgname-dev $pkgname-lang"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/sys \
		--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="2b2c77210103610cb91554f870d634bc8d06f0886eef5166bf9909c1975a87d960005640d48e3e917f74c7553e3ae07d473ba06c6c5d6582313c50a390ec6168  libgnome-games-support-1.4.4.tar.xz
3fdff90e5f4908b073234472716a2dd419d04772529c9c3cdff3a68e422e12c08578f023227607a1d4c90dac9b73f00b93c1f1cbec2623f2677c2d8d6399c89e  meson-support.patch"