tfm-tui-bin
LOW
maintainer Dominiquini
1 votes
scanned 2026-09-16 07:21:35.943234
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
format_version() {
4
local input="$1"
5
6
# Counts how many dots are in the string
7
local dot_count="${input//[^.]/}"
8
9
# If there are 3 dots (a.b.c.d), apply the post transformation
10
if [ "${#dot_count}" -ge 3 ]; then
11
local prefix="${input%.*}"
12
local suffix="${input##*.}"
13
echo "${prefix}-beta.${suffix}"
14
else
15
# Otherwise (like a.b.c), return the input unchanged
16
echo "${input}"
17
fi
18
}
19
20
_gitauthor=clarkarch
21
_gitname=tfm-tui
22
_appname=${_gitname%-tui}
23
pkgname=${_gitname}-bin
24
pkgdesc="Modern mouse-first terminal file manager"
25
26
pkgver=0.1.0.0
27
pkgrel=1
28
_gitversion=v$(format_version "${pkgver}")
29
30
arch=('x86_64' 'aarch64')
31
_barch=('x86_64-linux' 'aarch64-linux')
32
33
url="https://${_gitauthor}.github.io/${_gitname}/"
34
_ghurl="https://github.com/${_gitauthor}/${_gitname}"
35
_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
36
37
license=('MIT')
38
39
provides=("${_appname}")
40
conflicts=("${pkgname%-bin}")
41
42
options=('!strip')
43
44
source=("README-${pkgver}.md::${_ghurlraw}/README.md"
45
"LICENSE-${pkgver}::${_ghurlraw}/LICENSE")
46
source_x86_64=("${_appname}-${arch[0]}-${pkgver}.gz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[0]}.gz")
47
source_aarch64=("${_appname}-${arch[1]}-${pkgver}.gz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[1]}.gz")
48
sha256sums=('03453b688a9c19ede9db289e91f886e1ce6bf8fc065183cf72951c76a52c3bc1'
49
'b2d4efd70a3897fa8ccfa35574c646be83ad2fd1459cf0e5661d2f48187cad4f')
50
sha256sums_x86_64=('46e48344b23affa7e6dc8332b19c857a2012dc5de5eacda895cb7a9cb550eb9f')
51
sha256sums_aarch64=('4bcd1a57d470ad81c72fdd31ad1b603a64c0d1abaf31d5df6a8d12ba46520f3b')
52
53
54
package() {
55
cd "${srcdir}/" || exit
56
57
install -Dm755 "${_appname}-${CARCH}-${pkgver}" "${pkgdir}/usr/bin/${_appname}"
58
59
install -Dm644 "README-${pkgver}.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
60
61
install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
62
}
63
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-16 07:21:35 | Low | 1 |