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

Jan Steffens heftig at gemini.archlinux.org
Sat Apr 2 18:47:03 UTC 2022


    Date: Saturday, April 2, 2022 @ 18:47:02
  Author: heftig
Revision: 441300

1.22.8-2: debug on

Modified:
  cogl/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-02 18:40:43 UTC (rev 441299)
+++ PKGBUILD	2022-04-02 18:47:02 UTC (rev 441300)
@@ -1,9 +1,9 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=cogl
 pkgver=1.22.8
-pkgrel=1
+pkgrel=2
 pkgdesc="An object oriented GL/GLES Abstraction/Utility Layer"
 url="https://blogs.gnome.org/clutter/"
 arch=(x86_64)
@@ -12,22 +12,23 @@
          libxrandr)
 makedepends=(gobject-introspection git gtk-doc)
 provides=(libcogl.so libcogl-{gles2,pango,path}.so)
+options=(debug)
 _commit=c2e25cef6bd7b3f12c8625f82956388e419cd046  # tags/1.22.8^0
 source=("git+https://gitlab.gnome.org/GNOME/cogl.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
-  git describe | sed 's/-/+/g'
+  cd cogl
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd cogl
   NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
+  cd cogl
   ./configure --prefix=/usr \
     --enable-gles2 \
     --enable-{kms,wayland}-egl-platform \
@@ -40,8 +41,8 @@
 }
 
 package() {
-  cd $pkgname
+  cd cogl
   make DESTDIR="$pkgdir" install
 }
 
-# vim:set ts=2 sw=2 et:
+# vim:set sw=2 et:



More information about the arch-commits mailing list