macro-tool

LOW
maintainer YatoVoid 0 votes scanned 2026-10-22 05:34:05.500565
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: YatoVoid
2pkgname=macro-tool
3pkgver=2.0.0
4pkgrel=1
5pkgdesc="Auto clicker and mouse and keyboard macro recorder for X11 and Wayland"
6arch=('any')
7url="https://github.com/YatoVoid/Macro-Tool"
8license=('MIT')
9depends=('python' 'pyside6' 'python-evdev' 'python-pynput')
10optdepends=('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')
12makedepends=('python-build' 'python-installer' 'python-hatchling')
13checkdepends=('python-pytest')
14install=macro-tool.install
15source=("$pkgname-$pkgver.tar.gz::https://github.com/YatoVoid/Macro-Tool/archive/refs/tags/v$pkgver.tar.gz")
16sha256sums=('83c0a0ac3f287d7eaa331ccd046beff7824ed23480495b4393aeb7c2f1ed2f2a')
17
18build() {
19 cd "Macro-Tool-$pkgver"
20 python -m build --wheel --no-isolation
21}
22
23check() {
24 cd "Macro-Tool-$pkgver"
25 QT_QPA_PLATFORM=offscreen PYTHONPATH=src:tests python -m pytest -q
26}
27
28package() {
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)SeverityRules
2026-10-22 05:34:05 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