masterpdfeditor-qt6

maintainer ninetailedtori · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads the official source from the project's own domain and uses archived Arch packages for dependencies; the untrusted host flags are false positives for legitimate sources, and the build process is transparent and standard for AUR.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads the official source from the project's own domain and uses archived Arch packages for dependencies; the untrusted host flags are false positives for legitimate sources, and the build process is transparent and standard for AUR.

2 higher static findings superseded - not the current verdict (shown for transparency)
MEDIUM External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:18 _checksum=$(curl 'https://code-industry.net/checksum-information/' | grep -oP '[a-f0-9]{40}(?=.*master-pdf-editor-'"${pkgver}${_patchver}"'-qt6.x86_64.tar.gz)')
MEDIUM source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:26 "https://code-industry.net/public/master-pdf-editor-${pkgver}${_patchver}-qt6.x86_64.tar.gz"

PKGBUILD

2 offending line(s) highlighted
1#!/usr/bin/env bash
2# shellcheck disable=SC2034,SC2148,SC2154
3#
4# Maintainer: Toria <ninetailedtori@uwu.gal>
5#
6_pkgname=masterpdfeditor
7pkgbase="${_pkgname}-qt6"
8pkgname=(
9 "${_pkgname}-qt6"
10 "qt6-${_pkgname}"
11)
12pkgver=5.9.98
13qt6ver="6.4.2-1"
14_patchver='-1'
15pkgrel=4
16pkgdesc='A complete solution for viewing, creating and editing PDF files.'
17url='https://code-industry.net/free-pdf-editor/'
18_checksum=$(curl 'https://code-industry.net/checksum-information/' | grep -oP '[a-f0-9]{40}(?=.*master-pdf-editor-'"${pkgver}${_patchver}"'-qt6.x86_64.tar.gz)')
19arch=('x86_64')
20license=('custom')
21makedepends=(
22 'curl'
23 'patchelf'
24)
25source_x86_64=(
26 "https://code-industry.net/public/master-pdf-editor-${pkgver}${_patchver}-qt6.x86_64.tar.gz"
27 "https://archive.archlinux.org/packages/q/qt6-base/qt6-base-${qt6ver}-x86_64.pkg.tar.zst"
28 "https://archive.archlinux.org/packages/q/qt6-svg/qt6-svg-${qt6ver}-x86_64.pkg.tar.zst"
29 "https://archive.archlinux.org/packages/q/qt6-declarative/qt6-declarative-${qt6ver}-x86_64.pkg.tar.zst"
30 "https://archive.archlinux.org/packages/q/qt6-5compat/qt6-5compat-${qt6ver}-x86_64.pkg.tar.zst"
31 "https://archive.archlinux.org/packages/i/icu/icu-72.1-2-x86_64.pkg.tar.zst"
32 "masterpdfeditor" # wrapper
33)
34sha1sums_x86_64=(
35 "${_checksum% *}" # masterpdfeditor
36 "2aef848e417b78e5cc0e64961e1da0274748b2c3" # qt6-base
37 "165e18c31f19eaefb0d2f25b64b5b58b6db637ed" # qt6-svg
38 "e4891badad4b4c0d30f1b54d3f4e9ae1d18e6052" # qt6-declarative
39 "89a13d359c959c98f17b5dd53e38efa4aa858216" # qt6-5compat
40 "40ac37ae0659954c5dcaedfec8683339b3b3f3d7" # icu
41 "a32196cd8736b5425a1952ce0d6a932ed058de9b" # wrapper
42)
43# validpgpkeys=(
44# '1519D5ABA65BF6FC2B73C7567A4E76095D8A52E4' # Arch Linux Developer Key
45# )
46
47package_qt6-masterpdfeditor() {
48 # Add QT 6.4.2 libraries as required
49 install -dm755 \
50 "${pkgdir}/opt/${_pkgname}/lib"
51
52 cp -v \
53 "$srcdir/usr/lib"/libQt6*.so* \
54 "${pkgdir}/opt/${_pkgname}/lib/"
55
56 cp -rv \
57 "$srcdir/usr/lib/qt6" \
58 "${pkgdir}/opt/${_pkgname}/lib/"
59
60 # And the ICU 72 libs that are required by QT 6.4.2
61 cp -v \
62 "$srcdir/usr/lib/libicu"*.so.72* \
63 "${pkgdir}/opt/${_pkgname}/lib/"
64 cp -v \
65 "$srcdir/usr/lib/libicu"*.so.72.1 \
66 "${pkgdir}/opt/${_pkgname}/lib/"
67}
68
69package_masterpdfeditor-qt6() {
70 provides=("${_pkgname}=${pkgver}")
71 conflicts=(
72 "${_pkgname}-qt_include"
73 "${_pkgname}-qt5"
74 )
75 depends=(
76 'libgl'
77 'pkcs11-helper'
78 'sane'
79 # 'qt6-base'
80 # 'qt6-svg'
81 # 'qt6-declarative'
82 # 'qt6-5compat'
83 'xcb-util-image'
84 'xcb-util-keysyms'
85 'xcb-util-renderutil'
86 'xcb-util-wm'
87 'glibc>=2.28'
88 'qt6-masterpdfeditor'
89 )
90
91 # Move all required files to opt/masterpdfeditor
92 install -d \
93 "${pkgdir}/opt"
94 install -d \
95 "${pkgdir}/usr/bin"
96 cp -a --no-preserve=ownership \
97 "master-pdf-editor-${pkgver%%.*}" \
98 "${pkgdir}/opt/${_pkgname}"
99
100 # Finally, the application extras, such as launcher
101 cd "${pkgdir}/opt/${_pkgname}" || return 1
102
103 # Patch the desktop to use usr/bin launcher
104 sed -i \
105 -e 's|^Exec=.*|Exec=/usr/bin/masterpdfeditor5 %f|' \
106 -e 's|^Path=.*|Path=/opt/masterpdfeditor|' \
107 -e 's|^Icon=.*|Icon=/opt/masterpdfeditor/masterpdfeditor5.png|' \
108 "${_pkgname}${pkgver%%.*}.desktop"
109
110 # Install all the files.
111 install -Dm755 \
112 "${srcdir}/${_pkgname}" \
113 "${pkgdir}/usr/bin/"
114 install -Dm644 \
115 "${_pkgname}${pkgver%%.*}.desktop" \
116 -t "${pkgdir}/usr/share/applications/"
117 install -Dm644 \
118 'license_en.txt' \
119 -t "${pkgdir}/usr/share/licenses/${pkgname}/"
120
121 # Patch it to request the /opt/masterpdfeditor/lib libs FIRST, so it
122 # doesn't fallback
123 patchelf --set-rpath \
124 /opt/masterpdfeditor/lib:/usr/lib \
125 "${pkgdir}/opt/masterpdfeditor/masterpdfeditor5"
126}
127

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 00:14:10 LOW 3
2026-07-30 00:17:23 LOW 3
2026-07-29 00:25:53 LOW 3
2026-07-28 00:07:28 LOW 3
2026-07-27 00:24:32 LOW 3
2026-07-26 00:07:32 LOW 3
2026-07-25 00:13:44 LOW 3
2026-07-24 00:02:28 LOW 3
2026-07-23 00:14:47 LOW 3
2026-07-22 00:29:32 LOW 3
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

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

0 / 4000
Your suggestion