margin-bin

LOW
maintainer AnatolyRugalev 0 votes scanned 2026-10-18 15:22:20.091682
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: Anatoly Rugalev <anatoly.rugalev@gmail.com>
2#
3# Rendered by margin's packaging/aur/publish.sh from packaging/aur/PKGBUILD in
4# github.com/neuroplastio/margin; change it there.
5#
6# A launcher plus a seed build (D20), as the Homebrew formula is: the launcher
7# is /usr/bin/margin, and a complete margin binary is its seed at
8# /usr/lib/margin/bin/margin. The launcher runs the seed while ~/.local/margin
9# has no build, so a fresh install works with no network and does not depend
10# on the channel being up; `margin update` then installs a newer build into
11# ~/.local/margin, which the launcher prefers. pkgver is the release both files
12# come from.
13pkgname=margin-bin
14_pkgname=margin
15pkgver=26.10.03
16pkgrel=1
17pkgdesc="A terminal tool for reviewing markdown and handing the comments back to an agent (a launcher plus a seed build: margin updates itself in ~/.local/margin with margin update)"
18arch=('x86_64' 'aarch64')
19url="https://github.com/neuroplastio/margin"
20license=('Apache-2.0')
21provides=("$_pkgname")
22conflicts=("$_pkgname")
23optdepends=('github-cli: margin import-pr'
24 'neovim: the composer in margin 26.10.03, whose composer is nvim')
25# Static Go binaries, stripped when they were built: no debug package, and
26# nothing for strip to change about the bytes the sha256s below name.
27options=('!strip' '!debug')
28
29_release="https://github.com/neuroplastio/margin/releases/download/${pkgver}"
30source_x86_64=("margin-launcher-${pkgver}-x86_64::${_release}/margin-launcher_linux_amd64"
31 "margin-${pkgver}-x86_64::${_release}/margin_linux_amd64")
32source_aarch64=("margin-launcher-${pkgver}-aarch64::${_release}/margin-launcher_linux_arm64"
33 "margin-${pkgver}-aarch64::${_release}/margin_linux_arm64")
34sha256sums_x86_64=('d63a8d0c7fc1bd1a43978462ff92034389f280ddbf93a5897f79ee91e116367e' '44ea7919c5797d09606ee989c6e8577f0893adadff286149b1bd6d6f8c48db00')
35sha256sums_aarch64=('f57c1483648ac05a1ec1e63afaa86afed19cd33bf84ebf291c81c84679e745ef' '518253268d26ed052c639e2bc2dfd0a12835613e1c615ae0f532da9bb72b4c13')
36
37package() {
38 install -Dm755 "margin-launcher-${pkgver}-${CARCH}" "$pkgdir/usr/bin/$_pkgname"
39 # The seed: enlaunch's default Seed is /usr/lib/<project>, and its bin/<name>
40 # is what the launcher execs while the user's home has no build.
41 install -Dm755 "margin-${pkgver}-${CARCH}" "$pkgdir/usr/lib/margin/bin/margin"
42}
43

Scan history

Scanned at (UTC)SeverityRules
2026-10-18 15:22:20 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