- PKGBUILD url/source now point at this instance's releases. - Release uploads use the run's own ephemeral token instead of the GITEA_TOKEN secret. - The publish job also builds both architectures' packages (repack PKGBUILD, CARCH override) and uploads them to the instance Arch package registry (repository name: uhhm). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GLUwWE2KmFPzhKaf67tWbx
22 lines
826 B
Bash
22 lines
826 B
Bash
# Maintainer: Bendik Aagaard Lynghaug <bendik.lynghaug@gmail.com>
|
|
pkgname=spectrust
|
|
pkgver=0.2.6
|
|
pkgrel=1
|
|
pkgdesc="Terminal audio spectrum analyzer"
|
|
arch=('x86_64' 'aarch64')
|
|
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"
|
|
}
|