[arch-commits] Commit in gsound/repos/extra-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Saturday, April 2, 2022 @ 14:07:29
  Author: heftig
Revision: 441256

archrelease: copy trunk to extra-x86_64

Added:
  gsound/repos/extra-x86_64/PKGBUILD
    (from rev 441255, gsound/trunk/PKGBUILD)
Deleted:
  gsound/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-02 14:07:20 UTC (rev 441255)
+++ PKGBUILD	2022-04-02 14:07:29 UTC (rev 441256)
@@ -1,39 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gsound
-pkgver=1.0.3
-pkgrel=1
-pkgdesc="Small library for playing system sounds"
-url="https://wiki.gnome.org/Projects/GSound"
-license=(LGPL)
-arch=(x86_64)
-depends=(glib2 libcanberra)
-makedepends=(gobject-introspection vala git gtk-doc meson)
-_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'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  arch-meson $pkgname build -D gtk_doc=true
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  depends+=(libg{lib,object,io}-2.0.so libcanberra.so)
-  provides+=(libgsound.so)
-
-  meson install -C build --destdir "$pkgdir"
-}

Copied: gsound/repos/extra-x86_64/PKGBUILD (from rev 441255, gsound/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-02 14:07:29 UTC (rev 441256)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gsound
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Small library for playing system sounds"
+url="https://wiki.gnome.org/Projects/GSound"
+license=(LGPL)
+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 gsound
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd gsound
+}
+
+build() {
+  arch-meson gsound build -D gtk_doc=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libg{lib,object,io}-2.0.so libcanberra.so)
+  provides+=(libgsound.so)
+
+  meson install -C build --destdir "$pkgdir"
+}



More information about the arch-commits mailing list