neo-writing-git

LOW
maintainer srp 0 votes scanned 2026-09-28 03:20:12.318580
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: Seraphim Pardee <me at srp dot life>
2pkgname=neo-writing-git
3_appname=neo
4pkgver=0.8.4.r1.gac12d84
5pkgrel=1
6pkgdesc="A distraction-free word processor for authors"
7arch=('x86_64')
8url="https://github.com/hughhowey/neo"
9license=('MIT')
10depends=('electron43')
11makedepends=('npm')
12source=("${_appname}::git+${url}.git")
13sha256sums=('SKIP')
14options=('!strip')
15
16pkgver() {
17 cd "$srcdir/$_appname"
18 git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
19}
20
21build() {
22 cd "$srcdir/$_appname"
23 npm ci --omit=dev --ignore-scripts --no-audit
24}
25
26package() {
27 cd "$srcdir/$_appname"
28
29 local _appdir="$pkgdir/usr/lib/$pkgname"
30 install -dm755 "$_appdir"
31 install -Dm644 package.json "$_appdir/package.json"
32 install -Dm644 *.js index.html styles.css "$_appdir/"
33 cp -a fonts node_modules "$_appdir/"
34
35 install -Dm755 /dev/stdin "$pkgdir/usr/bin/neo-writing" <<'EOF'
36#!/bin/sh
37exec /usr/bin/electron43 /usr/lib/neo-writing-git "$@"
38EOF
39 install -Dm644 build/icon.png "$pkgdir/usr/share/icons/hicolor/1024x1024/apps/neo-writing.png"
40 install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/neo-writing.desktop" <<'EOF'
41[Desktop Entry]
42Type=Application
43Name=NEO
44Comment=A distraction-free word processor for authors
45Exec=neo-writing
46Icon=neo-writing
47Terminal=false
48Categories=Office;WordProcessor;
49EOF
50 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51 cp -a fonts/LICENSE-* "$pkgdir/usr/share/licenses/$pkgname/"
52}
53

Scan history

Scanned at (UTC)SeverityRules
2026-09-28 03:20:12 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