macro-tool
LOW
maintainer YatoVoid
0 votes
scanned 2026-10-22 05:34:05.500565
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: YatoVoid
2
pkgname=macro-tool
3
pkgver=2.0.0
4
pkgrel=1
5
pkgdesc="Auto clicker and mouse and keyboard macro recorder for X11 and Wayland"
6
arch=('any')
7
url="https://github.com/YatoVoid/Macro-Tool"
8
license=('MIT')
9
depends=('python' 'pyside6' 'python-evdev' 'python-pynput')
10
optdepends=('spectacle: magnifier with real pixels when picking points on KDE Plasma Wayland'
11
'grim: magnifier with real pixels when picking points on Sway and Hyprland')
12
makedepends=('python-build' 'python-installer' 'python-hatchling')
13
checkdepends=('python-pytest')
14
install=macro-tool.install
15
source=("$pkgname-$pkgver.tar.gz::https://github.com/YatoVoid/Macro-Tool/archive/refs/tags/v$pkgver.tar.gz")
16
sha256sums=('83c0a0ac3f287d7eaa331ccd046beff7824ed23480495b4393aeb7c2f1ed2f2a')
17
18
build() {
19
cd "Macro-Tool-$pkgver"
20
python -m build --wheel --no-isolation
21
}
22
23
check() {
24
cd "Macro-Tool-$pkgver"
25
QT_QPA_PLATFORM=offscreen PYTHONPATH=src:tests python -m pytest -q
26
}
27
28
package() {
29
cd "Macro-Tool-$pkgver"
30
python -m installer --destdir="$pkgdir" dist/*.whl
31
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
32
install -Dm644 packaging/linux/io.github.yatovoid.MacroTool.desktop -t "$pkgdir/usr/share/applications/"
33
install -Dm644 packaging/linux/io.github.yatovoid.MacroTool.metainfo.xml -t "$pkgdir/usr/share/metainfo/"
34
install -Dm644 packaging/linux/60-macro-tool.rules -t "$pkgdir/usr/lib/udev/rules.d/"
35
install -Dm644 packaging/linux/macro-tool.conf -t "$pkgdir/usr/lib/modules-load.d/"
36
for s in 16 32 48 64 128 256 512; do
37
install -Dm644 "packaging/icons/$s.png" "$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/io.github.yatovoid.MacroTool.png"
38
done
39
}
40
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-22 05:34:05 | Low | 1 |