# shellcheck shell=bash disable=SC2034,SC2154
# Generated by scripts/render-aur-bin-files.sh
pkgname=claudectl-bin
pkgver=0.16.0
pkgrel=1
pkgdesc='Orchestrate a swarm of Claude Code agents with a learning local-LLM brain'
arch=('x86_64')
url='https://github.com/mercurialsolo/claudectl'
license=('MIT')
provides=('claudectl')
conflicts=('claudectl' 'claudectl-git')
source=(
  "claudectl-v${pkgver}-x86_64-unknown-linux-musl.tar.gz::https://github.com/mercurialsolo/claudectl/releases/download/v${pkgver}/claudectl-v${pkgver}-x86_64-unknown-linux-musl.tar.gz"
  "LICENSE::https://raw.githubusercontent.com/mercurialsolo/claudectl/v${pkgver}/LICENSE"
)
sha256sums=(
  '3832a8f29b30368aa1e139f4563353c6abf9de09af649c527a29ae9814f2926f'
  'c7335fce47998935bbe76ef2fe9dfeb0ba7b7fb8f0edec16127a0a370f6c8b80'
)

package() {
  install -Dm755 "${srcdir}/claudectl" "${pkgdir}/usr/bin/claudectl"
  install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
