dirgo
LOW
maintainer Dominiquini
1 votes
scanned 2026-08-25 05:25:49.966969
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
_gitauthor=RudySource
4
_gitname=Dirgo
5
_appname=dgo
6
pkgname=${_gitname,,}
7
pkgdesc="Fast, local-first directory navigation"
8
9
pkgver=0.3.1
10
pkgrel=1
11
_gitversion=v${pkgver}
12
13
arch=('x86_64')
14
_barch=('x86_64-unknown-linux-gnu')
15
16
_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17
_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18
url=${_ghurl}
19
20
license=('Apache-2.0' 'MIT')
21
22
makedepends=('cargo')
23
provides=("${_appname}")
24
depends=('glibc' 'libgcc')
25
26
options=('!strip')
27
28
source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
29
sha256sums=('ab9b7bd632c72c2708ac7a5ca31ded27deede44606005cc5bdfc2a6b23c60256')
30
31
32
prepare() {
33
cd "${_gitname}-${pkgver}" || exit
34
35
cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
36
}
37
38
build() {
39
cd "${_gitname}-${pkgver}" || exit
40
41
export CARGO_TARGET_DIR=target
42
cargo build --frozen --release
43
44
mkdir -p "./completions"
45
46
"./target/release/${_appname}" completions zsh > "./completions/${_appname}.zsh"
47
"./target/release/${_appname}" completions bash > "./completions/${_appname}.bash"
48
"./target/release/${_appname}" completions fish > "./completions/${_appname}.fish"
49
}
50
51
check() {
52
cd "${_gitname}-${pkgver}" || exit
53
54
export CARGO_TARGET_DIR=target
55
cargo test --frozen --release
56
}
57
58
package() {
59
cd "${_gitname}-${pkgver}" || exit
60
61
install -Dm755 "target/release/${_appname}" "${pkgdir}/usr/bin/${_appname}"
62
63
install -Dm644 "completions/${_appname}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${_appname}"
64
install -Dm644 "completions/${_appname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${_appname}"
65
install -Dm644 "completions/${_appname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${_appname}.fish"
66
67
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
68
69
install -Dm644 "LICENSE-MIT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
70
install -Dm644 "LICENSE-APACHE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
71
}
72
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-25 05:25:49 | Low | 1 |