uutils-bsdutils-git
LOW
maintainer Chocobo1
0 votes
scanned 2026-09-11 17:22:59.755085
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: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3
pkgname=uutils-bsdutils-git
4
pkgver=0.0.1.r194.g3ba11da
5
pkgrel=1
6
pkgdesc="Rust reimplementation of the bsdutils project"
7
arch=('i686' 'x86_64')
8
url="https://github.com/uutils/bsdutils"
9
license=('MIT')
10
depends=('glibc' 'libgcc')
11
makedepends=('git' 'cargo')
12
provides=("uutils-bsdutils=$pkgver")
13
conflicts=('uutils-bsdutils')
14
source=("git+https://github.com/uutils/bsdutils.git")
15
sha256sums=('SKIP')
16
17
18
prepare() {
19
cd "bsdutils"
20
21
if [ ! -f "Cargo.lock" ]; then
22
cargo update
23
fi
24
cargo fetch
25
}
26
27
pkgver() {
28
cd "bsdutils"
29
30
_tag=$(git tag -l --sort -v:refname | grep -E '^v?[0-9\.]+$' | head -n1)
31
_rev=$(git rev-list --count "$_tag"..HEAD)
32
_hash=$(git rev-parse --short HEAD)
33
printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//'
34
}
35
36
check() {
37
cd "bsdutils"
38
39
#cargo test \
40
# --frozen
41
}
42
43
package() {
44
cd "bsdutils"
45
46
cargo install \
47
--frozen \
48
--no-track \
49
--root "$pkgdir/usr" \
50
--path .
51
52
for path in "$pkgdir/usr/bin"/*; do
53
dir=$(dirname "$path")
54
basename=$(basename "$path")
55
mv "$dir/$basename" "$dir/uutils-$basename"
56
done
57
58
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/uutils-bsdutils"
59
}
60
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-11 17:22:59 | Low | 1 |