summaryrefslogtreecommitdiff
path: root/community/libgnome-games-support/APKBUILD
blob: f7b6506bd87928301f66d01a5e2b82ac73cc554e (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgnome-games-support
pkgver=1.8.1
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
	vala-0.56.patch
	"
subpackages="$pkgname-dev $pkgname-lang"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
ed5ba94db9ab3d6193e7bb2d0956e20c42577b9fdba4d1d31acb252c43d248cc9b478c807b5f9489dfc88d6757bf95206405d0adf4fb68aa50b8f9d1b6ec59bf  libgnome-games-support-1.8.1.tar.xz
7a18c75fe7c17850b74b3595dea2ace4e2bcf1ce5914819490834e4e0f2cf96f5b59a2371f56124ef8d10be4d2848242659cccd15df0d07b7c0a4885b95374cc  vala-0.56.patch
"