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

Jan Steffens heftig at gemini.archlinux.org
Mon Jul 18 19:04:05 UTC 2022


    Date: Monday, July 18, 2022 @ 19:04:05
  Author: heftig
Revision: 451444

3.12.2+r69+g9c70a43b-1

Modified:
  libcryptui/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-18 18:57:47 UTC (rev 451443)
+++ PKGBUILD	2022-07-18 19:04:05 UTC (rev 451444)
@@ -1,9 +1,10 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 # Contributor: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=libcryptui
-pkgver=3.12.2+55+ged3b12af
+pkgver=3.12.2+r69+g9c70a43b
 pkgrel=1
+epoch=1
 pkgdesc="Library for OpenPGP prompts"
 url="https://gitlab.gnome.org/GNOME/libcryptui"
 arch=(x86_64)
@@ -11,13 +12,14 @@
 depends=(gtk3 gpgme dbus-glib libnotify gcr dconf libsm)
 makedepends=(intltool gobject-introspection gnome-common git)
 provides=(libcryptui.so)
-_commit=ed3b12af71643d5f6d29fc6a5092123624faff6e  # master
+options=(debug)
+_commit=9c70a43b54c343c056b84cd981e42ce5d6be17b4  # master
 source=("git+https://gitlab.gnome.org/GNOME/libcryptui.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
@@ -29,6 +31,7 @@
   cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
               --disable-static --disable-schemas-compile --enable-gtk-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 



More information about the arch-commits mailing list