hotprint

LOW
maintainer maxDTM 0 votes scanned 2026-10-08 04:07:28.496369
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: maxDTM <265972625+maxDTM at users dot noreply dot github dot com>
2pkgname=hotprint
3pkgver=0.1.0
4pkgrel=1
5pkgdesc='Arrange images and PDF pages and print them on CTP500-class Bluetooth thermal printers'
6arch=('any')
7url='https://github.com/maxDTM/hotprint'
8license=('MIT')
9depends=('python' 'python-gobject' 'gtk4' 'libadwaita' 'python-pillow' 'poppler' 'librsvg'
10 'bluez-utils')
11optdepends=('imagemagick: import HEIC and other formats Pillow cannot read')
12source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
13sha256sums=('ff837ab74fa7f08e15070bd114b320fc2bd1079ed5f04f28ad9e393a1366c371')
14
15check() {
16 cd "$pkgname-$pkgver"
17 # GUI smoke tests need a display; run the rest
18 HOTPRINT_TESTS_NO_GUI=1 python -B tests/run_all.py
19}
20
21package() {
22 cd "$pkgname-$pkgver"
23 local site
24 site=$(python -c "import sysconfig; print(sysconfig.get_path('purelib'))")
25 install -d "$pkgdir$site"
26 cp -r hotprint "$pkgdir$site/"
27 python -m compileall -q -s "$pkgdir" -p / "$pkgdir$site/hotprint"
28
29 install -d "$pkgdir/usr/bin"
30 printf '#!/bin/sh\nexec /usr/bin/python3 -m hotprint "$@"\n' > "$pkgdir/usr/bin/hotprint"
31 chmod 755 "$pkgdir/usr/bin/hotprint"
32
33 local id=io.github.hotprint.HotPrint
34 sed -e '/^#/d' -e 's|@EXEC@|hotprint|' -e "s|@ICON@|$id|" "data/$id.desktop.in" \
35 | install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/$id.desktop"
36 install -Dm644 "data/$id.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$id.svg"
37 install -Dm644 README.md docs/protocol.md -t "$pkgdir/usr/share/doc/$pkgname"
38 install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
39}
40

Scan history

Scanned at (UTC)SeverityRules
2026-10-08 04:07:28 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