gravityfile
LOW
maintainer Dominiquini
1 votes
scanned 2026-08-26 01:28:49.644801
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
7
pkgname=${_appname}
8
pkgdesc="File system explorer and analyzer with an interactive TUI"
9
10
pkgver=0.3.0
11
pkgrel=1
12
_gitversion=v${pkgver}
13
14
arch=('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}"
19
url=${_ghurl}
20
21
license=('Apache-2.0' 'MIT')
22
23
provides=("${_appname}")
24
25
makedepends=('cargo')
26
depends=('glibc' 'libgcc' 'xz')
27
28
options=('!strip' '!lto')
29
30
source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
31
sha256sums=('16eb2cf0317db538ed2f9aaaf2f14417978a0bb928478ca46efff4e9709525ef')
32
33
34
prepare() {
35
cd "${pkgname}-${pkgver}" || exit
36
37
cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
38
}
39
40
build() {
41
cd "${pkgname}-${pkgver}" || exit
42
43
export CARGO_TARGET_DIR=target
44
cargo build --frozen --release
45
}
46
47
check() {
48
cd "${pkgname}-${pkgver}" || exit
49
50
export CARGO_TARGET_DIR=target
51
cargo test --frozen --release
52
}
53
54
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-26 01:28:49 | Low | 1 |