blob: e3b7c8dd2c25a0e22d24e6c25fc59fc227a1eb26 (
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
31
32
33
34
35
|
# Maintainer: Christian Krause ("wookietreiber") <christian.krause@mailbox.org>
# shellcheck disable=2034
# shellcheck disable=2148
pkgname=strace-analyzer
pkgver=0.5.4
pkgrel=1
pkgdesc="analyzes strace output"
arch=('x86_64' 'i686')
url="https://github.com/wookietreiber/strace-analyzer"
license=('GPL')
depends=('gcc-libs')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::https://github.com/wookietreiber/strace-analyzer/archive/v$pkgver.tar.gz")
md5sums=('726fd13533998563689430b5ce1a73ac')
build() {
# shellcheck disable=2154
cd "$srcdir"/$pkgname-$pkgver || exit 1
cargo build --release
}
check() {
cd "$srcdir"/$pkgname-$pkgver || exit 1
cargo test
}
package() {
cd "$srcdir"/$pkgname-$pkgver || exit 1
# shellcheck disable=2154
install -Dm755 "target/release/strace-analyzer" "$pkgdir/usr/bin/strace-analyzer"
}
|