[arch-commits] Commit in libgnome-games-support-2/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue Mar 29 19:55:28 UTC 2022
Date: Tuesday, March 29, 2022 @ 19:55:28
Author: heftig
Revision: 440918
2.0.0-1
Added:
libgnome-games-support-2/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-29 19:55:28 UTC (rev 440918)
@@ -0,0 +1,38 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=libgnome-games-support-2
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Code shared between GNOME games"
+url="https://gitlab.gnome.org/GNOME/libgnome-games-support"
+arch=(x86_64)
+license=(GPL3 LGPL3)
+depends=(libgee gtk4)
+makedepends=(vala git meson)
+provides=("libgnome-games-support-${pkgver%%.*}.so")
+options=(debug)
+_commit=75ed95f923d77705d5cb5eea14625a655a3225c8 # tags/2.0.0^0
+source=("git+https://gitlab.gnome.org/GNOME/libgnome-games-support.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd libgnome-games-support
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd libgnome-games-support
+}
+
+build() {
+ arch-meson libgnome-games-support build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
More information about the arch-commits
mailing list