commit be703e1920bf930daf1ca4cbfc99b4b1994d1bc8 Author: AdriĆ  Arrufat Date: Fri Jun 20 22:12:32 2025 +0900 initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..02932fa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = opencode + pkgdesc = A CLI that writes your git commit messages for you with Google Gemini AI + pkgver = 0.0.53 + pkgrel = 1 + url = https://github.com/tfkhdyt/geminicommit + arch = x86_64 + arch = aarch64 + license = GPL3 + makedepends = go + depends = git + source = https://github.com/opencode-ai/opencode/archive/refs/tags/v0.0.53.tar.gz + sha256sums = 53e23c62284a50c38fd664de441b6db540fa5c944358fffd319f548ee504cb84 + +pkgname = opencode diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..3f5c698 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: AdriĆ  Arrufat A + +pkgname=opencode +pkgver=0.0.53 +pkgrel=1 +pkgdesc='A CLI that writes your git commit messages for you with Google Gemini AI' +arch=('x86_64' 'aarch64') +url='https://github.com/tfkhdyt/geminicommit' +license=('GPL3') +depends=('git') +makedepends=('go') +source=("https://github.com/opencode-ai/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('53e23c62284a50c38fd664de441b6db540fa5c944358fffd319f548ee504cb84') + + +build() { + cd ${pkgname}-${pkgver} + go build +} + +package() { + cd ${pkgname}-${pkgver} + install -Dm755 opencode "${pkgdir}/usr/bin/opencode" + install -D LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +}