blob: 82d25de742d8b570d48420f461dbf04099d0fac6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
pkgname='fix-stacks-git'
_pkgname="fix-stacks"
pkgver=0.1.0.49.gb8b127d
pkgrel=1
arch=('x86_64' 'i686')
url="https://github.com/mozilla/fix-stacks"
pkgdesc="This program post-processes the stack frames produced by MozFormatCodeAddress"
license=('Apache' 'MIT')
depends=()
makedepends=('rust' 'cargo' 'git')
provides=('fix-stacks')
conflicts=('fix-stacks')
source=("$_pkgname::git+https://github.com/mozilla/fix-stacks.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2|cut -d\- -f1).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}
build(){
cd "$_pkgname"
env CARGO_INCREMENTAL=0 cargo build --release --locked
}
package() {
cd $_pkgname
install -D -m755 "target/release/fix-stacks" "$pkgdir/usr/bin/fix-stacks"
}
|