neo-writing-git
LOW
maintainer srp
0 votes
scanned 2026-09-28 03:20:12.318580
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>
2
pkgname=neo-writing-git
3
_appname=neo
4
pkgver=0.8.4.r1.gac12d84
5
pkgrel=1
6
pkgdesc="A distraction-free word processor for authors"
7
arch=('x86_64')
8
url="https://github.com/hughhowey/neo"
9
license=('MIT')
10
depends=('electron43')
11
makedepends=('npm')
12
source=("${_appname}::git+${url}.git")
13
sha256sums=('SKIP')
14
options=('!strip')
15
16
pkgver() {
17
cd "$srcdir/$_appname"
18
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
19
}
20
21
build() {
22
cd "$srcdir/$_appname"
23
npm ci --omit=dev --ignore-scripts --no-audit
24
}
25
26
package() {
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
37
exec /usr/bin/electron43 /usr/lib/neo-writing-git "$@"
38
EOF
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]
42
Type=Application
43
Name=NEO
44
Comment=A distraction-free word processor for authors
45
Exec=neo-writing
46
Icon=neo-writing
47
Terminal=false
48
Categories=Office;WordProcessor;
49
EOF
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) | Severity | Rules |
|---|---|---|
| 2026-09-28 03:20:12 | Low | 1 |