slinky
LOW
maintainer fictionic
0 votes
scanned 2026-11-06 18:13:05.055048
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: Dylan Forbes <dylandforbes@gmail.com>
2
pkgname=slinky
3
pkgver=0.1.0
4
pkgrel=1
5
pkgdesc="A utility for wrangling symbolic links on Unix systems"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/fictionic/slinky"
8
license=('MIT')
9
depends=('gcc-libs' 'glibc')
10
makedepends=('cargo')
11
options=('!debug')
12
source=("$pkgname-$pkgver.tar.gz::https://github.com/fictionic/slinky/archive/v$pkgver.tar.gz")
13
sha256sums=('2d063d7491847df42620099a7c81cb53aa4bef1282784e17526d1cd55716f315')
14
15
prepare() {
16
cd "$srcdir/$pkgname-$pkgver"
17
export RUSTUP_TOOLCHAIN=stable
18
cargo fetch --locked --target "$(rustc --print host-tuple)"
19
}
20
21
build() {
22
cd "$srcdir/$pkgname-$pkgver"
23
export RUSTUP_TOOLCHAIN=stable
24
export CARGO_TARGET_DIR=target
25
cargo build --frozen --release
26
}
27
28
check() {
29
cd "$srcdir/$pkgname-$pkgver"
30
export RUSTUP_TOOLCHAIN=stable
31
export CARGO_TARGET_DIR=target
32
cargo test --frozen
33
}
34
35
package() {
36
cd "$srcdir/$pkgname-$pkgver"
37
38
for bin in "$pkgname" "$pkgname-ln"; do
39
install -Dm755 "target/release/$bin" "$pkgdir/usr/bin/$bin"
40
install -Dm644 "generate/$bin.1" "$pkgdir/usr/share/man/man1/$bin.1"
41
install -Dm644 "generate/$bin.bash" "$pkgdir/usr/share/bash-completion/completions/$bin"
42
install -Dm644 "generate/_$bin" "$pkgdir/usr/share/zsh/site-functions/_$bin"
43
install -Dm644 "generate/$bin.fish" "$pkgdir/usr/share/fish/vendor_completions.d/$bin.fish"
44
done
45
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
46
}
47
48
# vim:set ts=2 sw=2 et:
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-06 18:13:05 | Low | 1 |