opt
LOW
maintainer horizzon
0 votes
scanned 2026-08-25 17:27:20.499711
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: Gabriel <horizzon3507>
2
pkgname=opt
3
pkgver=0.1.0
4
pkgrel=1
5
pkgdesc='Option family CLI: dispatch, doctor, install and system utilities'
6
arch=('x86_64')
7
url='https://github.com/fireflylabss/optioncli'
8
license=('Apache-2.0')
9
depends=('gcc-libs' 'glibc')
10
makedepends=('cargo')
11
options=('!lto')
12
source=("optioncli-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
13
sha256sums=('5840d0b875caf519a9f8f2287a1e84b563830f3d79e78f285300b0d87f6ef2d1')
14
15
prepare() {
16
cd "optioncli-$pkgver"
17
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
18
}
19
20
build() {
21
cd "optioncli-$pkgver"
22
export CARGO_TARGET_DIR=target
23
cargo build --frozen --release
24
}
25
26
package() {
27
cd "optioncli-$pkgver"
28
install -Dm755 target/release/opt "$pkgdir/usr/bin/opt"
29
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
30
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
31
install -Dm644 CHANGELOG.md "$pkgdir/usr/share/doc/$pkgname/CHANGELOG.md"
32
}
33
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-25 17:27:20 | Low | 1 |