mole-cli-bin

LOW
maintainer czyt 0 votes scanned 2026-11-05 00:08:17.114294
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: czyt <czytcn@gmail.com>
2
3pkgname=mole-cli-bin
4pkgver=0.4.0
5pkgrel=1
6pkgdesc="Deep clean and optimize your Linux desktop (CLI)"
7arch=('x86_64' 'aarch64')
8url="https://github.com/tw93/Mole"
9license=('GPL-3.0-only')
10depends=('bash' 'coreutils' 'findutils' 'gawk' 'grep' 'procps-ng' 'sed')
11optdepends=(
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)
19provides=('mole-cli')
20conflicts=('mole-cli')
21options=('!strip' '!debug')
22
23_tarball_x86_64="mole-${pkgver}-linux-x86_64.tar.gz"
24_tarball_aarch64="mole-${pkgver}-linux-aarch64.tar.gz"
25source_x86_64=("${_tarball_x86_64}::${url}/releases/download/V${pkgver}-linux/${_tarball_x86_64}")
26source_aarch64=("${_tarball_aarch64}::${url}/releases/download/V${pkgver}-linux/${_tarball_aarch64}")
27sha256sums_x86_64=('0afefdc72aeb516cc8af22497ec5c4ccbf3200352393aa1246a523a2728b31d9')
28sha256sums_aarch64=('9296d7457769da2a96a7a8b6fda7185df77694c25306e8aa4c2aedba26f40421')
29
30package() {
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)SeverityRules
2026-11-05 00:08:17 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