[arch-commits] Commit in dump_syms/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Thu May 26 09:59:10 UTC 2022
Date: Thursday, May 26, 2022 @ 09:59:10
Author: heftig
Revision: 446546
archrelease: copy trunk to extra-x86_64
Added:
dump_syms/repos/extra-x86_64/PKGBUILD
(from rev 446545, dump_syms/trunk/PKGBUILD)
Deleted:
dump_syms/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 87 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 47 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-26 09:58:50 UTC (rev 446545)
+++ PKGBUILD 2022-05-26 09:59:10 UTC (rev 446546)
@@ -1,40 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgname=dump_syms
-pkgver=0.0.7
-pkgrel=1
-pkgdesc="Symbol dumper for Firefox"
-url="https://github.com/mozilla/dump_syms"
-arch=(x86_64)
-license=(APACHE MIT)
-depends=(gcc-libs openssl bzip2)
-makedepends=(cargo git)
-_commit=1899b09775037cd9466154dfbaf69abd4880e54c # tags/v0.0.7
-source=("git+$url#commit=$_commit")
-sha512sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- cargo fetch --locked --target x86_64-unknown-linux-gnu
-}
-
-build() {
- cd $pkgname
- cargo build --release --frozen --all-targets
-}
-
-check() {
- cd $pkgname
- cargo test --release --frozen
-}
-
-package() {
- cd $pkgname
- install -Dt "$pkgdir/usr/bin" target/release/dump_syms
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE*
-}
Copied: dump_syms/repos/extra-x86_64/PKGBUILD (from rev 446545, dump_syms/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-26 09:59:10 UTC (rev 446546)
@@ -0,0 +1,47 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=dump_syms
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Symbol dumper for Firefox"
+url="https://github.com/mozilla/dump_syms"
+arch=(x86_64)
+license=(APACHE MIT)
+depends=(gcc-libs openssl bzip2)
+makedepends=(cargo git)
+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/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ cargo fetch --locked --target x86_64-unknown-linux-gnu
+}
+
+build() {
+ cd $pkgname
+ cargo build --release --frozen --all-targets
+}
+
+check() {
+ cd $pkgname
+ cargo test --release --frozen
+}
+
+package() {
+ cd $pkgname
+ install -Dt "$pkgdir/usr/bin" target/release/dump_syms
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE*
+}
More information about the arch-commits
mailing list