saber-note-bin
LOW
maintainer czyt
0 votes
scanned 2026-10-26 05:43:49.644165
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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.
PKGBUILD
1
# Maintainer: czyt <czytcn@gmail.com>
2
pkgname=saber-note-bin
3
pkgver=1.37.0
4
pkgrel=2
5
pkgdesc="The cross-platform open-source notes app built for handwriting"
6
arch=('x86_64' 'aarch64')
7
url="https://saber.adil.hanney.org/"
8
license=('GPL-3.0-only')
9
depends=('gtk3' 'libsecret' 'webkit2gtk-4.1')
10
provides=('saber')
11
conflicts=('saber' 'saber-bin')
12
options=('!strip' '!debug')
13
# Upstream ships one archive per architecture with the same layout:
14
# saber, data/, lib/, share/
15
source_x86_64=("Saber_v${pkgver}_Linux_x86_64.tar.gz::https://github.com/saber-notes/saber/releases/download/v${pkgver}/Saber_v${pkgver}_Linux_x86_64.tar.gz")
16
source_aarch64=("Saber_v${pkgver}_Linux_arm64.tar.gz::https://github.com/saber-notes/saber/releases/download/v${pkgver}/Saber_v${pkgver}_Linux_arm64.tar.gz")
17
sha256sums_x86_64=('f9c4d6c639add05d0f3f0785c419c41b0e1a8d97ac55aaee92121deaa9fcd4c3')
18
sha256sums_aarch64=('aceae3deaeeaf9bfbb612fa960cc58473eb09f4148f301020bfb6771438e943d')
19
20
package() {
21
local _dir="saber-note"
22
local _arch="x86_64"
23
[[ "${CARCH}" == "aarch64" ]] && _arch="arm64"
24
25
install -dm755 "${pkgdir}/usr/lib/${_dir}"
26
bsdtar -xf "${srcdir}/Saber_v${pkgver}_Linux_${_arch}.tar.gz" \
27
-C "${pkgdir}/usr/lib/${_dir}"
28
29
# Launcher: upstream desktop file expects "saber" on PATH
30
install -Dm755 /dev/stdin "${pkgdir}/usr/bin/saber" <<'EOF'
31
#!/bin/bash
32
exec /usr/lib/saber-note/saber "$@"
33
EOF
34
35
# Desktop entry, metainfo and icons keep the upstream app id so that
36
# Icon=com.adilhanney.saber still resolves.
37
install -Dm644 "${pkgdir}/usr/lib/${_dir}/share/applications/com.adilhanney.saber.desktop" \
38
"${pkgdir}/usr/share/applications/saber.desktop"
39
install -Dm644 "${pkgdir}/usr/lib/${_dir}/share/metainfo/com.adilhanney.saber.metainfo.xml" \
40
"${pkgdir}/usr/share/metainfo/saber.metainfo.xml"
41
install -Dm644 "${pkgdir}/usr/lib/${_dir}/share/icons/hicolor/scalable/apps/com.adilhanney.saber.svg" \
42
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/com.adilhanney.saber.svg"
43
44
rm -rf "${pkgdir}/usr/lib/${_dir}/share"
45
chmod -R u=rwX,go=rX "${pkgdir}"
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-26 05:43:49 | Low | 1 |