@@ -0,0 +1,72 @@
14+ # this name template makes the OS and Arch compatible with the results of uname.
17+ {{- if eq .Os "darwin" }}mac-
18+ {{- else if eq .Os "windows" }}windows-
19+ {{- else if eq .Os "linux" }}linux-{{end}}
20+ {{- if eq .Arch "amd64" }}x86_64
21+ {{- else if eq .Arch "#86" }}i386
22+ {{- else }}{{ .Arch }}{{ end }}
23+ {{- if .Arm }}v{{ .Arm }}{{ end }}
24+ # use zip for windows archives
29+ name_template: "checksums.txt"
31+ name_template: "0.0.0-{{ .Timestamp }}"
34+ homepage: "https://github.com/opencode-ai/opencode"
35+ description: "Deploy anything"
37+ - "opencode <noreply@opencode.ai>"
39+ private_key: "{{ .Env.AUR_KEY }}"
40+ git_url: "ssh://aur@aur.archlinux.org/opencode-bin.git"
46+ install -Dm755 ./opencode "${pkgdir}/usr/bin/opencode"
52+ - maintainer: opencode
53+ description: terminal based agent that can build anything
57+ file_name_template: >-
59+ {{- if eq .Os "darwin" }}mac
60+ {{- else }}{{ .Os }}{{ end }}-{{ .Arch }}