aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgnome-games-support/APKBUILD
blob: 1433f2cbaa7d3b8ef65ecd696c59d8f5a72aa709 (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
# 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"
subpackages="$pkgname-dev $pkgname-lang"

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

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

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

sha512sums="ed5ba94db9ab3d6193e7bb2d0956e20c42577b9fdba4d1d31acb252c43d248cc9b478c807b5f9489dfc88d6757bf95206405d0adf4fb68aa50b8f9d1b6ec59bf  libgnome-games-support-1.8.1.tar.xz"