dirgo

LOW
maintainer Dominiquini 1 votes scanned 2026-08-25 05:25:49.966969
View on AUR
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
6pkgname=${_gitname,,}
7pkgdesc="Fast, local-first directory navigation"
8
9pkgver=0.3.1
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('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}"
18url=${_ghurl}
19
20license=('Apache-2.0' 'MIT')
21
22makedepends=('cargo')
23provides=("${_appname}")
24depends=('glibc' 'libgcc')
25
26options=('!strip')
27
28source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
29sha256sums=('ab9b7bd632c72c2708ac7a5ca31ded27deede44606005cc5bdfc2a6b23c60256')
30
31
32prepare() {
33 cd "${_gitname}-${pkgver}" || exit
34
35 cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
36}
37
38build() {
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
51check() {
52 cd "${_gitname}-${pkgver}" || exit
53
54 export CARGO_TARGET_DIR=target
55 cargo test --frozen --release
56}
57
58package() {
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)SeverityRules
2026-08-25 05:25:49 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion