aboutsummaryrefslogblamecommitdiffstats
path: root/testing/libgnome-games-support/APKBUILD
blob: b3a69deeeae47fc9eb71075e086c144ad569d39e (plain) (tree)
1
2
3
4
5



                                                  
        














                                                                                                                    
                                   




                        
                            


           
                                                 



                                                                                                                                                                                 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgnome-games-support
pkgver=1.4.4
pkgrel=2
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=plain \
		. 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"