1 # Maintainer: smbCloud <seto@sigit.si>
2 #
3 # Template for the sigit-bin AUR package. release-aur.yml substitutes the
4 # at-sign-delimited placeholders below and pushes the result. The
5 # $pkgver/${CARCH} references are makepkg's own and must survive substitution
6 # untouched, which is why this lives in a file rather than a heredoc in the
7 # workflow. Keep placeholder-shaped text out of the comments: the workflow
8 # greps for leftovers and treats any hit as an unsubstituted value.
9
10 pkgname=sigit-bin
11 pkgver=@VERSION@
12 pkgrel=1
13 pkgdesc="siGit Code, an AI coding agent that runs on your machine"
14 arch=('x86_64' 'aarch64')
15 url="https://github.com/getsigit/sigit"
16 license=('Apache-2.0')
17 depends=('glibc' 'gcc-libs')
18 provides=('sigit')
19 conflicts=('sigit')
20 # The released binary is already stripped by the release profile, and makepkg
21 # should not rewrite a vendor binary it did not build.
22 options=(!strip !debug)
23
24 source_x86_64=("sigit-${pkgver}-x86_64::${url}/releases/download/v${pkgver}/sigit-linux-amd64")
25 source_aarch64=("sigit-${pkgver}-aarch64::${url}/releases/download/v${pkgver}/sigit-linux-arm64")
26 sha256sums_x86_64=('@SHA256_X86_64@')
27 sha256sums_aarch64=('@SHA256_AARCH64@')
28
29 package() {
30 install -Dm755 "${srcdir}/sigit-${pkgver}-${CARCH}" "${pkgdir}/usr/bin/sigit"
31 }