buildprof
LOW
maintainer jakobhellermann
0 votes
scanned 2026-09-19 15:30:39.046776
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Jakob Hellermann <jakob.hellermann@protonmail.com>
2
pkgname=buildprof
3
pkgver=0.2.7
4
pkgrel=1
5
pkgdesc="Records every process and file access in a build and shows it as an interactive timeline"
6
arch=('x86_64' 'aarch64')
7
url="https://buildprof.lalitm.com"
8
license=('Apache-2.0')
9
depends=('gcc-libs' 'zstd')
10
makedepends=('cargo')
11
options=('!debug')
12
source=("$pkgname-$pkgver.tar.gz::https://github.com/LalitMaganti/buildprof/releases/download/v${pkgver}/source.tar.gz")
13
sha256sums=('f1c5961f0719c0f25b35ae9dd45fa7cda002f14590817ed78f3ac9712411bce6')
14
15
prepare() {
16
cd "$pkgname-$pkgver"
17
export RUSTUP_TOOLCHAIN=stable
18
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
19
}
20
21
build() {
22
cd "$pkgname-$pkgver"
23
export RUSTUP_TOOLCHAIN=stable
24
export CARGO_TARGET_DIR=target
25
export RUSTFLAGS="--remap-path-prefix $PWD=/"
26
# Link the system zstd instead of building the C library bundled with zstd-sys
27
export ZSTD_SYS_USE_PKG_CONFIG=1
28
cargo build --frozen --release --all-features
29
}
30
31
check() {
32
cd "$pkgname-$pkgver"
33
export RUSTUP_TOOLCHAIN=stable
34
export CARGO_TARGET_DIR=target
35
export RUSTFLAGS="--remap-path-prefix $PWD=/"
36
export ZSTD_SYS_USE_PKG_CONFIG=1
37
cargo test --frozen --all-features
38
}
39
40
package() {
41
cd "$pkgname-$pkgver"
42
install -Dm755 target/release/buildprof "$pkgdir/usr/bin/buildprof"
43
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
44
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
45
install -Dm644 CHANGELOG.md "$pkgdir/usr/share/doc/$pkgname/CHANGELOG.md"
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-19 15:30:39 | Low | 1 |