saber-note-bin

LOW
maintainer czyt 0 votes scanned 2026-10-26 05:43:49.644165
View on AUR
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>
2pkgname=saber-note-bin
3pkgver=1.37.0
4pkgrel=2
5pkgdesc="The cross-platform open-source notes app built for handwriting"
6arch=('x86_64' 'aarch64')
7url="https://saber.adil.hanney.org/"
8license=('GPL-3.0-only')
9depends=('gtk3' 'libsecret' 'webkit2gtk-4.1')
10provides=('saber')
11conflicts=('saber' 'saber-bin')
12options=('!strip' '!debug')
13# Upstream ships one archive per architecture with the same layout:
14# saber, data/, lib/, share/
15source_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")
16source_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")
17sha256sums_x86_64=('f9c4d6c639add05d0f3f0785c419c41b0e1a8d97ac55aaee92121deaa9fcd4c3')
18sha256sums_aarch64=('aceae3deaeeaf9bfbb612fa960cc58473eb09f4148f301020bfb6771438e943d')
19
20package() {
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
32exec /usr/lib/saber-note/saber "$@"
33EOF
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)SeverityRules
2026-10-26 05:43:49 Low 1

Report a package

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

0 / 4000
Your suggestion