negpy-bin

LOW
maintainer Toesoe 0 votes scanned 2026-10-18 17:22:42.773931
View on AUR
Why flagged

The package downloads a prebuilt AppImage from the project's official GitHub releases, which is then extracted and installed; while the source is not built from scratch, the AppImage comes from a trusted project host and no malicious behavior is evident.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package downloads a prebuilt AppImage from the project's official GitHub releases, which is then extracted and installed; while the source is not built from scratch, the AppImage comes from a trusted project host and no malicious behavior is evident.

PKGBUILD

1# Maintainer: Toesoe <code [at] toesoe [dot] dev>
2
3pkgname=negpy-bin
4pkgver=0.65.0
5pkgrel=1
6pkgdesc="Tool for processing film negatives"
7arch=('x86_64')
8url="https://github.com/marcinz606/NegPy"
9license=('GPL-3.0-only')
10depends=('hicolor-icon-theme')
11optdepends=(
12 'sane: film scanners with SANE support'
13 'libgphoto2: tethered camera capture'
14 'libusb: USB transport for scanners'
15)
16
17provides=('negpy')
18options=('!strip' '!debug')
19
20_appimage="NegPy-${pkgver}-x86_64.AppImage"
21source=("${_appimage}::${url}/releases/download/${pkgver}/${_appimage}")
22sha256sums=('5f391b9ad66815a891f70054a7a2b89e3d0f2b22a8777efaec8e2008fbedc043')
23
24package() {
25 cd "$srcdir"
26 chmod +x "$_appimage"
27 "$srcdir/$_appimage" --appimage-extract >/dev/null # no FUSE needed
28
29 install -d "$pkgdir/opt/negpy"
30 cp -a squashfs-root/. "$pkgdir/opt/negpy/"
31
32 # appimage extracts dirs as 0700, normalize to 0755
33 find "$pkgdir/opt/negpy" -type d -exec chmod 0755 {} +
34
35 install -Dm755 /dev/stdin "$pkgdir/usr/bin/negpy" <<'EOF'
36#!/bin/sh
37exec /opt/negpy/AppRun "$@"
38EOF
39
40 # desktop entry
41 install -Dm644 "$srcdir/squashfs-root/NegPy.desktop" \
42 "$pkgdir/usr/share/applications/negpy.desktop"
43 sed -i 's|^Exec=.*|Exec=negpy|' "$pkgdir/usr/share/applications/negpy.desktop"
44
45 # icons
46 install -Dm644 "$srcdir/squashfs-root/negpy.png" \
47 "$pkgdir/usr/share/icons/hicolor/512x512/apps/negpy.png"
48 install -Dm644 "$srcdir/squashfs-root/usr/share/icons/hicolor/48x48/apps/negpy.png" \
49 "$pkgdir/usr/share/icons/hicolor/48x48/apps/negpy.png"
50 install -Dm644 "$srcdir/squashfs-root/usr/share/icons/hicolor/scalable/apps/negpy.svg" \
51 "$pkgdir/usr/share/icons/hicolor/scalable/apps/negpy.svg"
52}
53

Scan history

Scanned at (UTC)SeverityRules
2026-10-18 17:22:42 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion