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
23 lines
845 B
Bash
23 lines
845 B
Bash
# Maintainer: Bendik Aagaard Lynghaug <bendik.lynghaug@gmail.com>
|
|
pkgname=spectrust
|
|
pkgver=0.2.7
|
|
pkgrel=1
|
|
pkgdesc="Terminal audio spectrum analyzer"
|
|
arch=('x86_64' 'aarch64')
|
|
options=('!strip')
|
|
url="https://project.uhhm.no/bl/spectrust"
|
|
license=('MIT')
|
|
depends=()
|
|
provides=('spectrust')
|
|
conflicts=('spectrust-git' 'spectrust-bin')
|
|
source_x86_64=("spectrust-v${pkgver}-x86_64.tar.gz::https://project.uhhm.no/bl/spectrust/releases/download/v${pkgver}/spectrust-v${pkgver}-x86_64.tar.gz")
|
|
source_aarch64=("spectrust-v${pkgver}-aarch64.tar.gz::https://project.uhhm.no/bl/spectrust/releases/download/v${pkgver}/spectrust-v${pkgver}-aarch64.tar.gz")
|
|
sha256sums_x86_64=('SKIP')
|
|
sha256sums_aarch64=('SKIP')
|
|
|
|
package() {
|
|
install -Dm755 spectrust "$pkgdir/usr/bin/spectrust"
|
|
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|