write_stylus

LOW
maintainer dybdeskarphet 21 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package builds from the project's own GitHub repositories and a data file (EULA) from the official domain; SKIP'd checksums are for git submodules which are common in AUR packages, and no untrusted executable code is downloaded or executed.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from the project's own GitHub repositories and a data file (EULA) from the official domain; SKIP'd checksums are for git submodules which are common in AUR packages, and no untrusted executable code is downloaded or executed.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:18 "http://www.styluslabs.com/write/eula.docx"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Ahmet Arda Kavakcı <ahmetardakavakci {at} gmail {dot} com>
2# Contributor: envolution
3# Contributor: Adam Goldsmith <contact@adamgoldsmith.name>
4# Contributor: Janosch Dobler <janosch.dobler [at} gmx [dot} de>
5# shellcheck shell=bash disable=SC2034,SC2154
6
7pkgname=write_stylus
8pkgver=jul.2025
9pkgrel=2
10pkgdesc="Write(orignal name) - A word processor for handwriting"
11arch=(i686 x86_64)
12url="http://www.styluslabs.com/"
13license=('AGPL-3.0-only')
14depends=(sdl2 pugixml libxi)
15makedepends=(git)
16source=(
17 "${pkgname}::git+https://github.com/styluslabs/Write.git#tag=${pkgver//./-}"
18 "http://www.styluslabs.com/write/eula.docx"
19 git+https://github.com/styluslabs/nanovgXC.git
20 git+https://github.com/styluslabs/ulib.git
21 git+https://github.com/styluslabs/usvg.git
22 git+https://github.com/styluslabs/ugui.git)
23sha256sums=('f0749381323ba2794a22a227c10689a58d213a8b7da76232a03928cdfc1b8be4'
24 '637c47c1843860a16f1ca87e2df5d72b4396ff23cefacf6244de95cdac23de6e'
25 'SKIP'
26 'SKIP'
27 'SKIP'
28 'SKIP')
29noextract=("eula.docx")
30
31prepare() {
32 git -C "${pkgname}" submodule init
33 git -C "${pkgname}" config --local submodule.deps/nanovgXC.url "${srcdir}/nanovgXC"
34 git -C "${pkgname}" config --local submodule.deps/ulib.url "${srcdir}/ulib"
35 git -C "${pkgname}" config --local submodule.deps/usvg.url "${srcdir}/usvg"
36 git -C "${pkgname}" config --local submodule.deps/ugui.url "${srcdir}/ugui"
37 git -C "${pkgname}" -c protocol.file.allow='always' submodule update
38
39 sed -i '/^#pragma once/a #include <cstdint>' write_stylus/usvg/svgnode.h
40 sed -i 's#^Exec=.*#Exec=/usr/bin/write_stylus#' write_stylus/scribbleres/linux/Write.desktop
41 sed -i 's#^Icon=.*#Icon=write_stylus#' write_stylus/scribbleres/linux/Write.desktop
42 sed -i '/#ifndef NDEBUG/,/#endif/s/#define SCRIBBLE_TEST 1/#undef SCRIBBLE_TEST/' write_stylus/syncscribble/basics.h
43}
44build() {
45 cd $pkgname/syncscribble
46 DEBUG=0 make \
47 CFLAGS+="$(pkg-config --cflags sdl2) -DPUGIXML_NO_XPATH -DPUGIXML_NO_EXCEPTIONS -I/usr/include -Wno-error -Wno-format-security -DNDEBUG" \
48 CXXFLAGS+="$(pkg-config --cflags sdl2) -DPUGIXML_NO_XPATH -DPUGIXML_NO_EXCEPTIONS -I/usr/include -Wno-error -Wno-format-security -DNDEBUG -fno-char8_t" \
49 LDFLAGS+="$(pkg-config --libs sdl2)" \
50 USE_SYSTEM_SDL=1
51}
52package() {
53 install -dm755 "$pkgdir/usr/share/$pkgname"
54 install -Dm755 "$pkgname/syncscribble/Release/Write" "$pkgdir/usr/share/$pkgname/Write"
55 install -Dm644 "$pkgname/scribbleres/fonts/"{DroidSansFallback.ttf,Roboto-Regular.ttf} "$pkgdir/usr/share/$pkgname/"
56 install -Dm644 "$pkgname/scribbleres/Intro.svg" "$pkgdir/usr/share/$pkgname/"
57
58 install -dm755 "$pkgdir/usr/bin"
59 cat <<'EOF' >"$pkgdir/usr/bin/write_stylus"
60#!/bin/sh
61export SDL_VIDEODRIVER=x11
62exec /usr/share/write_stylus/Write "$@"
63EOF
64 chmod 755 "$pkgdir/usr/bin/write_stylus"
65
66 install -Dm644 "eula.docx" "$pkgdir/usr/share/licenses/$pkgname/eula.docx"
67
68 install -Dm644 "$pkgname/scribbleres/linux/Write.desktop" "$pkgdir/usr/share/applications/Write.desktop"
69 install -Dm644 "$pkgname/scribbleres/linux/Write144x144.png" "$pkgdir/usr/share/pixmaps/write_stylus.png"
70}
71
72# vim:set ts=2 sw=2 et:
73

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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