Date: Tuesday, March 29, 2022 @ 19:54:37
  Author: heftig
Revision: 440917

1.8.2-2: debug on

Modified:
  libgnome-games-support/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-29 19:52:23 UTC (rev 440916)
+++ PKGBUILD    2022-03-29 19:54:37 UTC (rev 440917)
@@ -2,7 +2,7 @@
 
 pkgname=libgnome-games-support
 pkgver=1.8.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Code shared between GNOME games"
 url="https://gitlab.gnome.org/GNOME/libgnome-games-support";
 arch=(x86_64)
@@ -10,21 +10,22 @@
 depends=(libgee gtk3)
 makedepends=(vala git meson)
 provides=("libgnome-games-support-${pkgver%%.*}.so")
+options=(debug)
 _commit=406695a2bd14436cb7ff10001865db9d1c236fad  # tags/1.8.2^0
 
source=("git+https://gitlab.gnome.org/GNOME/libgnome-games-support.git#commit=$_commit";)
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-really//;s/-/+/g'
+  cd libgnome-games-support
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd libgnome-games-support
 }
 
 build() {
-  arch-meson $pkgname build
+  arch-meson libgnome-games-support build
   meson compile -C build
 }
 

Reply via email to