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

Jan Steffens heftig at gemini.archlinux.org
Thu May 26 09:58:51 UTC 2022


    Date: Thursday, May 26, 2022 @ 09:58:50
  Author: heftig
Revision: 446545

1.0.1-1

Modified:
  dump_syms/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-26 06:33:45 UTC (rev 446544)
+++ PKGBUILD	2022-05-26 09:58:50 UTC (rev 446545)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=dump_syms
-pkgver=0.0.7
+pkgver=1.0.1
 pkgrel=1
 pkgdesc="Symbol dumper for Firefox"
 url="https://github.com/mozilla/dump_syms"
@@ -9,13 +9,20 @@
 license=(APACHE MIT)
 depends=(gcc-libs openssl bzip2)
 makedepends=(cargo git)
-_commit=1899b09775037cd9466154dfbaf69abd4880e54c  # tags/v0.0.7
+options=(debug !lto)
+_commit=29c131802494c52e9e89597f1d763f79e797b348  # tags/v1.0.1
 source=("git+$url#commit=$_commit")
 sha512sums=('SKIP')
 
+# Use LTO
+export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+
+# Use debug
+export CARGO_PROFILE_RELEASE_DEBUG=2
+
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
+  git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {



More information about the arch-commits mailing list