sub-store-git

LOW
maintainer ChenPi11 0 votes scanned 2026-09-20 15:33:19.470652
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: chenpi11 <chenpi11@users.noreply.github.com>
2pkgname=sub-store-git
3pkgver=2.39.9.r0.g0000000
4pkgrel=1
5pkgdesc='Advanced Subscription Manager for QX, Loon, Surge, Stash, Egern and Shadowrocket (git)'
6arch=('any')
7url='https://github.com/sub-store-org/Sub-Store'
8license=('AGPL-3.0-only')
9depends=('nodejs>=24.15.0')
10makedepends=('git' 'pnpm')
11provides=('sub-store')
12conflicts=('sub-store' 'sub-store-bin')
13source=('git+https://github.com/sub-store-org/Sub-Store.git'
14 'sub-store@.service'
15 'sub-store.sysusers'
16 'sub-store.tmpfiles')
17sha256sums=('SKIP'
18 'SKIP'
19 'SKIP'
20 'SKIP')
21
22pkgver() {
23 cd Sub-Store
24 git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
25}
26
27prepare() {
28 cd Sub-Store/backend
29 pnpm install --frozen-lockfile
30}
31
32build() {
33 cd Sub-Store/backend
34 pnpm bundle:esbuild
35}
36
37package() {
38 # Install application files
39 install -Dm644 "$srcdir/Sub-Store/backend/dist/sub-store.bundle.js" \
40 "$pkgdir/usr/share/sub-store/sub-store.bundle.js"
41 install -Dm644 "$srcdir/Sub-Store/backend/dist/cron-sync-artifacts.min.js" \
42 "$pkgdir/usr/share/sub-store/cron-sync-artifacts.min.js"
43 install -Dm644 "$srcdir/Sub-Store/backend/dist/runtime-manifest.json" \
44 "$pkgdir/usr/share/sub-store/runtime-manifest.json"
45 install -Dm644 "$srcdir/Sub-Store/LICENSE" \
46 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
47
48 # Install wrapper script
49 install -Dm755 /dev/stdin "$pkgdir/usr/bin/sub-store" <<'EOF'
50#!/bin/sh
51exec node /usr/share/sub-store/sub-store.bundle.js "$@"
52EOF
53
54 # Install systemd service
55 install -Dm644 "$srcdir/sub-store@.service" \
56 "$pkgdir/usr/lib/systemd/system/sub-store@.service"
57
58 # Install sysusers/tmpfiles
59 install -Dm644 "$srcdir/sub-store.sysusers" \
60 "$pkgdir/usr/lib/sysusers.d/sub-store.conf"
61 install -Dm644 "$srcdir/sub-store.tmpfiles" \
62 "$pkgdir/usr/lib/tmpfiles.d/sub-store.conf"
63}
64
65post_install() {
66 echo '==> Sub-Store (git) has been installed!'
67 echo '==> To start the service (default port 9999):'
68 echo ' systemctl enable --now sub-store@9999.service'
69 echo '==> To use a different port:'
70 echo ' systemctl enable --now sub-store@<PORT>.service'
71 echo '==> Web UI: https://sub-store.vercel.app'
72}
73

Scan history

Scanned at (UTC)SeverityRules
2026-09-20 15:33:19 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