bash-peek
LOW
maintainer Dominiquini
1 votes
scanned 2026-11-01 20:01:18.389276
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3
# Override download agent to bypass strict user-agent blocking
4
DLAGENTS=('http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 --user-agent "PKGBUILD" -o %o %u'
5
'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 --user-agent "PKGBUILD" -o %o %u')
6
7
_pkgauthor=monji024
8
_pkgname=peek
9
_pkgsuffix=bash
10
_cratename=${_pkgsuffix}-${_pkgname}
11
_appname=${_pkgsuffix}-${_pkgname}
12
pkgname=${_cratename}
13
pkgdesc="Interactive TUI debugger, line profiler, and time-travel inspector for Bash scripts"
14
15
pkgver=1.0.0
16
pkgrel=1
17
_pkgvername=${pkgver}
18
19
arch=('x86_64')
20
license=('MIT')
21
url="https://github.com/${_pkgauthor}/${_pkgname}"
22
23
provides=("${_appname}")
24
25
makedepends=('cargo')
26
depends=('glibc' 'libgcc')
27
28
options=('!lto' '!strip')
29
30
source=("${pkgname}-${pkgver}.crate::https://crates.io/api/v1/crates/${_cratename}/${_pkgvername}/download")
31
sha256sums=('0a2fbf02d62518aece04b86538b7fdec0911c74d419559f2db4f74f90a92c15b')
32
33
prepare() {
34
cd "${pkgname}-${pkgver}" || exit
35
36
sed -E "s/(${_pkgsuffix}-)?${_pkgname}/${pkgname}/g" -i "README.md"
37
38
cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
39
}
40
41
build() {
42
cd "${pkgname}-${pkgver}" || exit
43
44
export CARGO_TARGET_DIR=target
45
cargo build --frozen --release
46
}
47
48
check() {
49
cd "${pkgname}-${pkgver}" || exit
50
51
export CARGO_TARGET_DIR=target
52
cargo test --frozen --release
53
}
54
55
package() {
56
cd "${pkgname}-${pkgver}" || exit
57
58
install -Dm755 "target/release/${_pkgname}" "${pkgdir}/usr/bin/${_appname}"
59
60
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
61
}
62
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 20:01:18 | Low | 1 |
| 2026-11-01 18:01:05 | Low | 1 |