braille-printer-app-git

LOW
maintainer dreieck 0 votes scanned 2026-09-25 07:10:52.990950
View on AUR
Why flagged

The package builds from the project's own Git repository on GitHub, which is a normal AUR practice; the low severity is due to few votes and recent upload, not malicious content.

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 from the project's own Git repository on GitHub, which is a normal AUR practice; the low severity is due to few votes and recent upload, not malicious content.

PKGBUILD

1# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)
2
3_pkgname=braille-printer-app
4pkgname="${_pkgname}-git"
5pkgver=2.0b1+r7111.20241209.272d5471
6pkgrel=1
7pkgdesc="Braille Printer Application"
8url='https://github.com/OpenPrinting/braille-printer-app'
9license=("Apache-2.0")
10arch=('x86_64')
11depends=(
12 'bash'
13 'glibc'
14 'libmagic.so' # Provided by 'file'.
15 'libcups'
16 'libcupsfilters'
17 'pappl'
18)
19optdepends=(
20 "liblouis: for musicxml files and backup Braille translations ('lou_translate')"
21 "liblouisutdml: for text files and best Braille translations ('file2brl')"
22 "imagemagick: for raster images ('convert')"
23 "poppler: for PDF files ('pdftotext')"
24 "inkscape: for vector images"
25 "lynx: for html files"
26 "antiword: for MS Word doc files"
27 "cups-filters>=2: for possible input file's conversion into formats which Braille filters accept"
28 "docx2txt: for MS Word docx files"
29 "unzip: for OpenOffice/Libreoffice file conversions"
30 "rtf2txt: for translating RTF files"
31 "freedots: for better translation of musicxml files ('FreeDots')"
32)
33makedepends=(
34 'git'
35 'file'
36 'liblouis'
37 'liblouisutdml'
38 # 'freedots'
39)
40provides=(
41 "${_pkgname}=${pkgver}"
42)
43conflicts=(
44 "${_pkgname}"
45)
46source=(
47 "git+${url}.git"
48)
49sha256sums=(
50 'SKIP'
51)
52options=('emptydirs')
53
54prepare() {
55 cd "${srcdir}/${_pkgname}"
56
57 git log > git.log
58
59 ./autogen.sh
60}
61
62pkgver() {
63 cd "${srcdir}/${_pkgname}"
64
65 # _ver="$(git describe --tags | sed 's|^v||' | sed 's|\-[^-]*$||' | tr '-' '_')"
66 _ver="$(grep -E '^[[:space:]]*PACKAGE_VERSION=' configure | sed 's|#.*||' | awk -F= '{print $2}' | tr -d \'\"[[:space:]])"
67 _rev="$(git rev-list --count HEAD)"
68 _hash="$(git rev-parse --short HEAD)"
69 _date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')"
70
71 if [ -n "${_ver}" ]; then
72 printf %s "${_ver}+r${_rev}.${_date}.${_hash}"
73 else
74 error "Could not determine version."
75 return 1
76 fi
77}
78
79build() {
80 cd "${srcdir}/${_pkgname}"
81
82 ./configure \
83 --prefix=/usr \
84 --enable-nls \
85 --enable-largefile \
86 --disable-werror \
87 --enable-braille \
88 --enable-musicxml \
89 --enable-year2038
90
91 make all
92}
93
94package() {
95 cd "${srcdir}/${_pkgname}"
96
97 # unitdir="/usr/lib/systemd/system/"
98
99 make DESTDIR="${pkgdir}/" install
100
101 # Fix permissions
102 chmod 644 "${pkgdir}/usr/lib/cups/backend/cups-brf"
103
104 install -Dvm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" git.log AUTHORS ChangeLog CHANGES-cups-filters.md CHANGES.md CONTRIBUTING.md DEVELOPING.md INSTALL NEWS README.md
105 install -Dvm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING LICENSE NOTICE
106}
107

Scan history

Scanned at (UTC)SeverityRules
2026-09-25 07:10:52 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