floral-notepaper-bin
MEDIUM
maintainer zxp19821005
0 votes
scanned 2026-08-28 03:33:56.563888
Why flagged
The package installs a prebuilt binary from an unverifiable RPM release on GitHub, which constitutes a supply-chain risk as the binary is not built from source and could be tampered with.
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.
Medium
AI review of an ambiguous pattern
llm_review
The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-2507) reviewed it and judged it MEDIUM (confidence 90%): The package installs a prebuilt binary from an unverifiable RPM release on GitHub, which constitutes a supply-chain risk as the binary is not built from source and could be tampered with.
PKGBUILD
1
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2
pkgname=floral-notepaper-bin
3
_pkgname='Floral Notepaper'
4
_zhsname='花笺'
5
pkgver=1.1.0
6
pkgrel=1
7
pkgdesc="A lightweight, elegant, and modern sticky note app for your desktop.(Prebuilt version)轻量、优雅、现代化的本地便签工具"
8
arch=('x86_64')
9
url="https://github.com/Achilng/floral-notepaper"
10
license=('MIT')
11
provides=("${pkgname%-bin}=${pkgver}")
12
conflicts=("${pkgname%-bin}")
13
depends=(
14
'gtk3'
15
'gdk-pixbuf2'
16
'webkit2gtk-4.1'
17
)
18
source=(
19
"${pkgname%-bin}-${pkgver}-x86_64.rpm::${url}/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-1.${CARCH}.rpm"
20
"LICENSE-${pkgver}::https://raw.githubusercontent.com/Achilng/floral-notepaper/v${pkgver}/LICENSE"
21
)
22
sha256sums=('bac5e6e239bc42aa7192dafbaf70c9b97ed995db3e2084345a7160b14b70cd95'
23
'e4df1e97f2ee75fe597e567546bf3070f5b09c9cc4879666b53fe5254e00994e')
24
prepare() {
25
sed -i "s/Categories=/Categories=Utility;/g" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
26
}
27
package() {
28
install -Dm755 "${srcdir}/usr/bin/${pkgname%-bin}" -t "${pkgdir}/usr/bin"
29
find "${srcdir}" -type f \( -name "*.png" -o -name "*.svg" \) -path "*share/icons/*" | while read -r _i; do
30
_extension="${_i##*.}"
31
_icon_path="${_i#*share/icons/}"
32
_target_dir="/usr/share/icons/$(dirname "${_icon_path}")"
33
install -Dm644 "${_i}" "${pkgdir}${_target_dir}/${pkgname%-bin}.${_extension}"
34
done
35
install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
36
install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-28 03:33:56 | Medium | 2 |