moarchy-store-git

LOW
maintainer simonschubert 0 votes scanned 2026-09-05 09:59:47.702300
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: Simon Schubert <simon@librem.one>
2pkgname=moarchy-store-git
3_pkgname=moarchy-store
4pkgver=0.1.0
5pkgrel=1
6pkgdesc="Curated store of Linux phone apps that actually fit a small screen"
7arch=('any')
8url="https://github.com/SimonSchubert/moarchy-store"
9license=('MIT')
10# Pure Python, so arch=any. The GUI stack is all runtime, nothing is compiled.
11depends=('python' 'python-gobject' 'gtk4' 'libadwaita' 'polkit' 'pacman')
12makedepends=('git')
13provides=("$_pkgname")
14conflicts=("$_pkgname")
15source=("$_pkgname::git+$url.git")
16sha256sums=('SKIP')
17
18pkgver() {
19 cd "$srcdir/$_pkgname"
20 # Check git describe separately rather than relying on `... | sed || fallback`:
21 # with no tags yet, describe writes nothing and the pipeline's status comes
22 # from sed, which happily succeeds on empty input -- so the fallback never
23 # runs and makepkg dies with "pkgver is not allowed to be empty".
24 local desc
25 if desc=$(git describe --long --tags 2>/dev/null) && [[ -n $desc ]]; then
26 printf '%s' "$desc" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
27 else
28 printf '0.1.0.r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
29 fi
30}
31
32package() {
33 cd "$srcdir/$_pkgname"
34
35 # Deliberately NOT site-packages. That path is Python-version-specific
36 # (/usr/lib/python3.13/site-packages), and this is an arch=any package: the
37 # version that built it would be baked in, so a Python minor bump would break
38 # every installed copy until rebuilt. A private dir on sys.path is immune.
39 install -Dm644 moarchy_store/*.py -t "$pkgdir/usr/lib/$_pkgname/moarchy_store/"
40
41 install -Dm755 bin/moarchy-store "$pkgdir/usr/bin/moarchy-store"
42
43 # The catalogue doubles as the install allowlist, so it must land root-owned
44 # and not group- or world-writable. The helper refuses to run otherwise.
45 install -Dm644 catalogue.toml "$pkgdir/usr/share/$_pkgname/catalogue.toml"
46
47 # Not in /usr/bin: this is only ever invoked through the polkit action, and
48 # putting it on PATH invites someone to call it directly and be confused by
49 # the permission error.
50 install -Dm755 data/moarchy-store-helper \
51 "$pkgdir/usr/lib/$_pkgname/moarchy-store-helper"
52
53 install -Dm644 data/org.moarchy.Store.policy \
54 "$pkgdir/usr/share/polkit-1/actions/org.moarchy.Store.policy"
55 install -Dm644 data/org.moarchy.Store.desktop \
56 "$pkgdir/usr/share/applications/org.moarchy.Store.desktop"
57
58 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
59 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-09-05 09:59:47 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