[arch-commits] Commit in gnome-menus/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Mon Jul 18 18:44:17 UTC 2022
Date: Monday, July 18, 2022 @ 18:44:16
Author: heftig
Revision: 451434
3.36.0-2
Modified:
gnome-menus/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-18 18:43:21 UTC (rev 451433)
+++ PKGBUILD 2022-07-18 18:44:16 UTC (rev 451434)
@@ -1,8 +1,9 @@
-# Maintainer: Jan de Groot <jan at archlinux.org>
+# 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=1
+pkgrel=2
pkgdesc="GNOME menu specifications"
url="https://gitlab.gnome.org/GNOME/gnome-menus"
arch=(x86_64)
@@ -11,6 +12,7 @@
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')
@@ -17,7 +19,7 @@
pkgver() {
cd $pkgname
- git describe --tags | sed 's/-/+/g'
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
@@ -26,10 +28,10 @@
}
build() {
- cd "$pkgname"
- ./configure \
- --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
+ cd $pkgname
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
@@ -39,6 +41,6 @@
}
package(){
- cd "$pkgname"
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list