archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libgnome-games-support-2 / repos / extra-x86_64 / PKGBUILD
blobbf4799a722d253a1f2dc3b0d6e79d48352e754aa
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=libgnome-games-support-2
4 pkgver=2.0.0
5 pkgrel=1
6 pkgdesc="Code shared between GNOME games"
7 url="https://gitlab.gnome.org/GNOME/libgnome-games-support"
8 arch=(x86_64)
9 license=(GPL3 LGPL3)
10 depends=(libgee gtk4)
11 makedepends=(vala git meson)
12 provides=("libgnome-games-support-${pkgver%%.*}.so")
13 options=(debug)
14 _commit=75ed95f923d77705d5cb5eea14625a655a3225c8  # tags/2.0.0^0
15 source=("git+https://gitlab.gnome.org/GNOME/libgnome-games-support.git#commit=$_commit")
16 sha256sums=('SKIP')
18 pkgver() {
19   cd libgnome-games-support
20   git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
23 prepare() {
24   cd libgnome-games-support
27 build() {
28   arch-meson libgnome-games-support build
29   meson compile -C build
32 check() {
33   meson test -C build --print-errorlogs
36 package() {
37   meson install -C build --destdir "$pkgdir"