brscan5-longpaper-fix

LOW
maintainer Sduniii 0 votes scanned 2026-11-06 08:11:27.004022
View on AUR
Why flagged

The package builds a shim library and script from source hosted on the maintainer's GitHub; the install script safely patches a local file and restores it on removal, with no remote code execution or untrusted downloads at runtime.

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 builds a shim library and script from source hosted on the maintainer's GitHub; the install script safely patches a local file and restores it on removal, with no remote code execution or untrusted downloads at runtime.

PKGBUILD

1# Maintainer: Sduniii <tobias@sduni.de>
2pkgname=brscan5-longpaper-fix
3pkgver=1.0.1
4pkgrel=1
5pkgdesc="SANE driver shim to enable long paper & receipt scanning up to 1.82m on Brother DS-740D and brscan5 scanners"
6arch=('x86_64')
7url="https://github.com/Sduniii/brscan5-longpaper-fix"
8license=('MIT')
9depends=('brscan5' 'sane')
10makedepends=('gcc' 'make')
11install=brother5-longpaper.install
12source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
13 "brother5-longpaper.hook"
14 "apply-patch.sh")
15sha256sums=('d73acfe2f260256484aabc71e752de5ae715c358b2fb7884d2d8f3b19680cfa1'
16 '3e1a557e14035e3540d9a9c64a7b2d68b172dba64d50080207ef37285fb6f634'
17 'ae44262f8f5fe61788d8446a9eb02267dc554f35030f51d5abd706095b57f751')
18
19build() {
20 cd "$pkgname-$pkgver"
21 make
22}
23
24package() {
25 cd "$pkgname-$pkgver"
26 install -Dm755 out/libbrother5_longpaper.so "$pkgdir/usr/lib/brother5-longpaper/libbrother5_longpaper.so"
27 install -Dm755 scripts/scan-bon "$pkgdir/usr/bin/scan-bon"
28 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
29 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
30
31 cd "$srcdir"
32 install -Dm755 apply-patch.sh "$pkgdir/usr/lib/brother5-longpaper/apply-patch.sh"
33 install -Dm644 brother5-longpaper.hook "$pkgdir/usr/share/libalpm/hooks/brother5-longpaper.hook"
34}
35

Scan history

Scanned at (UTC)SeverityRules
2026-11-06 08:11:27 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