blob: d061eaacb1becfaa191598aee2372882db045dee (
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
|
# Maintainer: Massimiliano Torromeo <mtorromeo@archlinux.org>
pkgname=intentrace
pkgver=0.4.1
pkgrel=1
pkgdesc='strace with intent, it goes all the way for you instead of half the way'
arch=('x86_64')
url='https://github.com/sectordistrict/intentrace'
license=('MIT')
depends=('glibc' 'gcc-libs')
makedepends=('rust')
source=("https://github.com/sectordistrict/intentrace/archive/refs/tags/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('9b88362ceb41e795bb44483d64104be0829d509baa975a65ed33ab4b2b0b1bdd')
prepare() {
cd $pkgname-$pkgver
cargo fetch
}
build() {
cd $pkgname-$pkgver
RUSTFLAGS='-C link-args=-Wl,-z,shstk' cargo build --frozen --release
}
package() {
cd $pkgname-$pkgver
install -Dm0755 target/release/intentrace "$pkgdir/usr/bin/intentrace"
install -Dm0644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|