Mark tobi-try arch=any

The package is three Ruby files and a symlink -- try.rb, lib/tui.rb,
lib/fuzzy.rb, and /usr/bin/try pointing at try.rb. build() only rewrites the
shebang to /usr/bin/ruby, package() only installs, and there are no
makedepends. Nothing in it is architecture-dependent.

Declaring ('aarch64' 'x86_64') means makepkg stamps whichever arch built it,
so serving both needs two builds of a byte-identical payload. With 'any' one
build covers every architecture.

Verified by building on aarch64: the resulting tobi-try-1.8.1-3-any package
has a byte-identical payload to the published x86_64 build, same symlink
target.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Scott Jones
2026-08-07 22:55:45 -04:00
co-authored by Claude Opus 5
parent 90c6092308
commit 95ca4cdd3b
+2 -2
View File
@@ -3,10 +3,10 @@
pkgname='tobi-try'
pkgver=1.8.1
_subver=d1bc484cc31a34db3d287550f4800e9a6e56bacd
pkgrel=2
pkgrel=3
pkgdesc='Fresh directories for every vibe.'
url='https://github.com/tobi/try'
arch=('aarch64' 'x86_64')
arch=('any')
license=('MIT')
depends=('ruby')
provides=('try')