1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
6 pkgdesc="Symbol dumper for Firefox"
7 url="https://github.com/mozilla/dump_syms"
19 _commit=fa4caf72ff6ca07c0bbf29cecf693c6294193563 # tags/v2.2.1^0
20 source=("git+$url#commit=$_commit")
24 export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
27 export CARGO_PROFILE_RELEASE_DEBUG=2
31 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
36 cargo fetch --locked --target x86_64-unknown-linux-gnu
41 cargo build --release --frozen --all-targets
46 cargo test --release --frozen
51 install -Dt "$pkgdir/usr/bin" target/release/dump_syms
52 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE*
55 # vim:set sw=2 sts=-1 et: