Skip to content

Add omarket, the shareware marketplace CLI - #220

Open
aphexddb wants to merge 1 commit into
omacom:masterfrom
aphexddb:add-omarket
Open

Add omarket, the shareware marketplace CLI#220
aphexddb wants to merge 1 commit into
omacom:masterfrom
aphexddb:add-omarket

Conversation

@aphexddb

Copy link
Copy Markdown

Adds omarket, a CLI to browse, sell, and buy shareware. Prebuilt Go binaries from GitHub releases (aphexddb/omarket), pinned at 0.4.0-1.

Packaging

  • Local package (source: local) for both x86_64 and aarch64.
  • .omarchy/package.json points bin/sync-upstream at the GitHub release feed (checksums.txt + version-free asset names), with min_release_age: "24h" so a bad release can be pulled before it reaches users.
  • Source entries rename the archives to include pkgver. Upstream's asset names are deliberately version-free so /releases/latest/download works for the curl installer; without the rename every version would collide in SRCDEST.
  • options=('!strip' '!debug') because goreleaser already strips with -s -w, and makepkg would otherwise try to split debug symbols out of a stripped binary.

Checksums are from the published archives, not placeholders.

Verified

  • bin/repo build --package omarket produced omarket-0.4.0-1-x86_64.pkg.tar.zst.
  • Package contains /usr/bin/omarket (0755, stripped static Go binary), /usr/share/licenses/omarket/LICENSE, and /usr/share/doc/omarket/README.md.
  • The packaged binary reports 0.4.0.

aarch64 was not built locally: the edge ARM repo at pkgs.omarchy.org/edge/aarch64 404s during the builder image bootstrap (omarchy.db). The PKGBUILD and checksums cover it; the host can build it once that channel exists.

This is PKGBUILD-only. Publishing to pkgs.omarchy.org is for the repository host after merge (bin/repo sign/promote/sync live there, not on a contributor checkout).

omarket is a prebuilt Go binary from GitHub releases. .omarchy/package.json
points bin/sync-upstream at the release feed so pkgver and checksums track
upstream automatically; min_release_age holds a new release for 24h so a
bad one does not reach users immediately.

options=('!strip' '!debug') because the binary is already stripped by
goreleaser's -s -w, and makepkg would otherwise try to split debug
symbols out of it.

The source entries rename the downloaded archives to include pkgver.
Upstream's asset names are deliberately version-free so that
/releases/latest/download resolves for the curl-based installer, which
means every version would otherwise land in SRCDEST under the same
filename.

Pinned to 0.4.0 with checksums taken from the published archives, not
placeholders.
@greptile-apps

greptile-apps Bot commented Aug 27, 2026

Copy link
Copy Markdown

Greptile Summary

Adds the omarket shareware marketplace CLI as a locally maintained package sourced from pinned GitHub release archives.

  • Supports x86_64 and aarch64 with architecture-specific sources and SHA-256 checksums.
  • Adds upstream synchronization metadata with a 24-hour release-age delay.
  • Installs the static CLI binary, license, and README.

Confidence Score: 5/5

The PR appears safe to merge with no concrete blocking or non-blocking defects identified.

The package metadata follows the repository’s supported local GitHub release contract, and the PKGBUILD uses standard architecture-specific sources and checksums with a verified x86_64 package layout.

Important Files Changed

Filename Overview
pkgbuilds/omarket/.omarchy/package.json Adds local GitHub release synchronization metadata with architecture-specific assets and a release-age safeguard.
pkgbuilds/omarket/PKGBUILD Adds a pinned, checksum-verified binary package recipe for x86_64 and aarch64.

Reviews (1): Last reviewed commit: "Add omarket, the shareware marketplace C..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant