gravityfile

LOW
maintainer Dominiquini 1 votes scanned 2026-08-26 01:28:49.644801
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=Epistates
4_gitname=gravityfile
5_appname=${_gitname}
6_alias=grav
7pkgname=${_appname}
8pkgdesc="File system explorer and analyzer with an interactive TUI"
9
10pkgver=0.3.0
11pkgrel=1
12_gitversion=v${pkgver}
13
14arch=('x86_64' 'aarch64')
15_barch=('x86_64-unknown-linux-gnu' 'aarch64-unknown-linux-gnu')
16
17_ghurl="https://github.com/${_gitauthor}/${_gitname}"
18_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
19url=${_ghurl}
20
21license=('Apache-2.0' 'MIT')
22
23provides=("${_appname}")
24
25makedepends=('cargo')
26depends=('glibc' 'libgcc' 'xz')
27
28options=('!strip' '!lto')
29
30source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
31sha256sums=('16eb2cf0317db538ed2f9aaaf2f14417978a0bb928478ca46efff4e9709525ef')
32
33
34prepare() {
35 cd "${pkgname}-${pkgver}" || exit
36
37 cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
38}
39
40build() {
41 cd "${pkgname}-${pkgver}" || exit
42
43 export CARGO_TARGET_DIR=target
44 cargo build --frozen --release
45}
46
47check() {
48 cd "${pkgname}-${pkgver}" || exit
49
50 export CARGO_TARGET_DIR=target
51 cargo test --frozen --release
52}
53
54package() {
55 cd "${pkgname}-${pkgver}" || exit
56
57 install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
58
59 install -Dm644 "scripts/${_alias}.zsh" "${pkgdir}/usr/share/${_appname}/${_alias}.zsh"
60 install -Dm644 "scripts/${_alias}.bash" "${pkgdir}/usr/share/${_appname}/${_alias}.bash"
61 install -Dm644 "scripts/${_alias}.fish" "${pkgdir}/usr/share/${_appname}/${_alias}.fish"
62
63 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
64
65 install -Dm644 "LICENSE-MIT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
66 install -Dm644 "LICENSE-APACHE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
67}
68

Scan history

Scanned at (UTC)SeverityRules
2026-08-26 01:28: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