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

Jan Steffens heftig at gemini.archlinux.org
Sat Apr 2 18:40:27 UTC 2022


    Date: Saturday, April 2, 2022 @ 18:40:26
  Author: heftig
Revision: 441298

1.8.4-3: debug on

Modified:
  clutter-gtk/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-02 18:37:42 UTC (rev 441297)
+++ PKGBUILD	2022-04-02 18:40:26 UTC (rev 441298)
@@ -1,15 +1,16 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# 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=clutter-gtk
 pkgver=1.8.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Clutter integration with GTK+"
+url="https://gitlab.gnome.org/GNOME/clutter-gtk"
 arch=(x86_64)
-url="https://gitlab.gnome.org/GNOME/clutter-gtk"
 license=(LGPL)
 depends=(clutter)
 makedepends=(gobject-introspection gtk-doc git meson)
+options=(debug)
 _commit=77483ba46384adde76f6c4599eae77eeec852c56  # tags/1.8.4^0
 source=("git+https://gitlab.gnome.org/GNOME/clutter-gtk.git#commit=$_commit")
 sha256sums=('SKIP')
@@ -16,7 +17,7 @@
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
@@ -25,11 +26,11 @@
 
 build() {
   arch-meson $pkgname build -Denable_docs=true
-  ninja -C build
+  meson compile -C build
 }
 
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  meson install -C build --destdir "$pkgdir"
 }
 
 # vim:set sw=2 et:



More information about the arch-commits mailing list