The runner's PKGEXT is .pkg.tar.xz, so the .zst glob never matched;
--packagelist yields the exact filename, and options=('!strip') lets the
foreign-arch binary be packaged on the aarch64 host without stripping.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GLUwWE2KmFPzhKaf67tWbx
27 lines
1009 B
Bash
27 lines
1009 B
Bash
# Maintainer: Bendik Aagaard Lynghaug <bendik.lynghaug@gmail.com>
|
|
pkgname=orca-rs
|
|
pkgver=0.1.1
|
|
pkgrel=1
|
|
pkgdesc="Orca live coding environment, ported to Rust (terminal UI with MIDI/OSC/UDP output)"
|
|
arch=('x86_64' 'aarch64')
|
|
options=('!strip')
|
|
url="https://project.uhhm.no/bl/orca-rs"
|
|
license=('MIT')
|
|
depends=('alsa-lib')
|
|
optdepends=(
|
|
'pipewire-alsa: expose the MIDI port through PipeWire'
|
|
)
|
|
provides=('orca-rs')
|
|
conflicts=('orca-rs-git' 'orca-rs-bin')
|
|
source_x86_64=("orca-rs-v${pkgver}-x86_64.tar.gz::https://project.uhhm.no/bl/orca-rs/releases/download/v${pkgver}/orca-rs-v${pkgver}-x86_64.tar.gz")
|
|
source_aarch64=("orca-rs-v${pkgver}-aarch64.tar.gz::https://project.uhhm.no/bl/orca-rs/releases/download/v${pkgver}/orca-rs-v${pkgver}-aarch64.tar.gz")
|
|
sha256sums_x86_64=('SKIP')
|
|
sha256sums_aarch64=('SKIP')
|
|
|
|
package() {
|
|
install -Dm755 orca-rs "$pkgdir/usr/bin/orca-rs"
|
|
install -Dm755 orca-cli "$pkgdir/usr/bin/orca-cli"
|
|
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|