mole-cli-bin
LOW
maintainer czyt
0 votes
scanned 2026-11-05 00:08:17.114294
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: czyt <czytcn@gmail.com>
2
3
pkgname=mole-cli-bin
4
pkgver=0.4.0
5
pkgrel=1
6
pkgdesc="Deep clean and optimize your Linux desktop (CLI)"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/tw93/Mole"
9
license=('GPL-3.0-only')
10
depends=('bash' 'coreutils' 'findutils' 'gawk' 'grep' 'procps-ng' 'sed')
11
optdepends=(
12
'sudo: system-wide cleanup and purge steps'
13
'pacman-contrib: paccache-based package cache cleaning'
14
'desktop-file-utils: refresh the desktop database after a cleanup'
15
'flatpak: flatpak cleanup'
16
'docker: container cleanup'
17
'podman: container cleanup'
18
)
19
provides=('mole-cli')
20
conflicts=('mole-cli')
21
options=('!strip' '!debug')
22
23
_tarball_x86_64="mole-${pkgver}-linux-x86_64.tar.gz"
24
_tarball_aarch64="mole-${pkgver}-linux-aarch64.tar.gz"
25
source_x86_64=("${_tarball_x86_64}::${url}/releases/download/V${pkgver}-linux/${_tarball_x86_64}")
26
source_aarch64=("${_tarball_aarch64}::${url}/releases/download/V${pkgver}-linux/${_tarball_aarch64}")
27
sha256sums_x86_64=('0afefdc72aeb516cc8af22497ec5c4ccbf3200352393aa1246a523a2728b31d9')
28
sha256sums_aarch64=('9296d7457769da2a96a7a8b6fda7185df77694c25306e8aa4c2aedba26f40421')
29
30
package() {
31
local _srcdir="${srcdir}/mole-${pkgver}-linux-${CARCH}"
32
33
install -d "${pkgdir}/usr/lib/mole"
34
cp -a -- "${_srcdir}/." "${pkgdir}/usr/lib/mole/"
35
# The upstream installer is for self-managed ~/.local installs; the launcher
36
# detects a package tree and disables self-update by itself.
37
rm -f "${pkgdir}/usr/lib/mole/install.sh"
38
39
install -d "${pkgdir}/usr/bin"
40
ln -s /usr/lib/mole/mole "${pkgdir}/usr/bin/mo"
41
42
install -Dm644 "${_srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
43
44
find "${pkgdir}/usr/lib/mole" -type d -exec chmod 755 {} +
45
find "${pkgdir}/usr/lib/mole" -type f -exec chmod 644 {} +
46
chmod 755 "${pkgdir}/usr/lib/mole/mole" "${pkgdir}/usr/lib/mole/mo"
47
chmod 755 "${pkgdir}/usr/lib/mole/bin/"*.sh "${pkgdir}/usr/lib/mole/bin/"*-go
48
}
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-05 00:08:17 | Low | 1 |