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

Jan Steffens heftig at gemini.archlinux.org
Mon Jul 18 18:52:30 UTC 2022


    Date: Monday, July 18, 2022 @ 18:52:30
  Author: heftig
Revision: 451439

archrelease: copy trunk to extra-x86_64

Added:
  gnome-menus/repos/extra-x86_64/PKGBUILD
    (from rev 451437, gnome-menus/trunk/PKGBUILD)
Deleted:
  gnome-menus/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 46 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-18 18:52:29 UTC (rev 451438)
+++ PKGBUILD	2022-07-18 18:52:30 UTC (rev 451439)
@@ -1,44 +0,0 @@
-# Maintainer: Jan de Groot <jan at archlinux.org>
-
-pkgname=gnome-menus
-pkgver=3.36.0
-pkgrel=1
-pkgdesc="GNOME menu specifications"
-url="https://gitlab.gnome.org/GNOME/gnome-menus"
-arch=(x86_64)
-license=(GPL LGPL)
-groups=(gnome)
-depends=(glib2)
-makedepends=(intltool gobject-introspection git gnome-common)
-provides=(libgnome-menu-3.so)
-_commit=66ac7579856968d3f4b76c04d55327c60b37f2fb  # tags/3.36.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gnome-menus.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd "$pkgname"
-  ./configure \
-      --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var  --disable-static
-  make
-}
-
-check() {
-  cd $pkgname
-  make check
-}
-
-package(){
-  cd "$pkgname"
-  make DESTDIR="$pkgdir" install
-}

Copied: gnome-menus/repos/extra-x86_64/PKGBUILD (from rev 451437, gnome-menus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-18 18:52:30 UTC (rev 451439)
@@ -0,0 +1,46 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jan at archlinux.org>
+
+pkgname=gnome-menus
+pkgver=3.36.0
+pkgrel=2
+pkgdesc="GNOME menu specifications"
+url="https://gitlab.gnome.org/GNOME/gnome-menus"
+arch=(x86_64)
+license=(GPL LGPL)
+groups=(gnome)
+depends=(glib2)
+makedepends=(intltool gobject-introspection git gnome-common)
+provides=(libgnome-menu-3.so)
+options=(debug)
+_commit=66ac7579856968d3f4b76c04d55327c60b37f2fb  # tags/3.36.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-menus.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package(){
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list