[arch-commits] Commit in gsound/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Sat Apr 2 14:07:20 UTC 2022


    Date: Saturday, April 2, 2022 @ 14:07:20
  Author: heftig
Revision: 441255

1.0.3-1: debug on

Modified:
  gsound/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-02 14:05:35 UTC (rev 441254)
+++ PKGBUILD	2022-04-02 14:07:20 UTC (rev 441255)
@@ -1,4 +1,5 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gsound
 pkgver=1.0.3
@@ -9,21 +10,22 @@
 arch=(x86_64)
 depends=(glib2 libcanberra)
 makedepends=(gobject-introspection vala git gtk-doc meson)
+options=(debug)
 _commit=95d36d60cf53e0e7c5d5325e0f1f4fc765a611ae  # tags/1.0.3^0
 source=("git+https://gitlab.gnome.org/GNOME/gsound.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  cd gsound
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd gsound
 }
 
 build() {
-  arch-meson $pkgname build -D gtk_doc=true
+  arch-meson gsound build -D gtk_doc=true
   meson compile -C build
 }
 



More information about the arch-commits mailing list