midday-commander-bin
LOW
maintainer Dominiquini
1 votes
scanned 2026-11-06 02:11:16.949189
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
_ghauthor=kooler
4
_ghname=MiddayCommander
5
_pkgname=midday-commander
6
_appname=mdc
7
pkgname=${_pkgname}-bin
8
pkgdesc="A TUI dual-panel terminal file manager written in Go, inspired by Midnight Commander."
9
10
pkgver=0.17
11
pkgrel=1
12
_ghversion=${pkgver}
13
_ghversionname=v${pkgver}
14
15
arch=('x86_64' 'aarch64')
16
_barch=('linux_amd64' 'linux_arm64')
17
18
url="https://github.com/${_ghauthor}/${_ghname}"
19
_urlraw="https://raw.githubusercontent.com/${_ghauthor}/${_ghname}/${_ghversionname}"
20
21
license=('MIT')
22
23
makedepends=('git')
24
provides=("${_appname}")
25
conflicts=("${pkgname%-bin}")
26
27
source_x86_64=("${_pkgname}-${arch[0]}-${pkgver}.tgz::${url}/releases/download/${_ghversionname}/${_ghname}_${_ghversion}_${_barch[0]}.tar.gz")
28
source_aarch64=("${_pkgname}-${arch[1]}-${pkgver}.tgz::${url}/releases/download/${_ghversionname}/${_ghname}_${_ghversion}_${_barch[1]}.tar.gz")
29
sha256sums_x86_64=('15cb6a56913ae9d246c25b8783b9dd11e1c35dc9a8e43fa49cee535b77dad55a')
30
sha256sums_aarch64=('62fbf0c259f5a775ae8712a197d2cb4105c74f454898de06db63e8a4b01e6325')
31
32
33
prepare() {
34
cd "${srcdir}/" || exit
35
36
rm -rf git && git clone -n --depth=1 --filter=tree:0 "${url}" git && cd git
37
38
git sparse-checkout set --no-cone config.example.toml /themes && git checkout
39
}
40
41
package() {
42
cd "${srcdir}/" || exit
43
44
install -Dm755 "${_appname}" "${pkgdir}/usr/bin/${_appname}"
45
46
install -Dm644 "git/config.example.toml" -t "${pkgdir}/usr/share/doc/${pkgname}/config/"
47
for theme in "git/themes/"*.toml; do
48
install -Dm644 "${theme}" -t "${pkgdir}/usr/share/${_appname}/themes/"
49
done
50
51
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
52
53
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
54
}
55
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-06 02:11:16 | Low | 1 |