initial commit

This commit is contained in:
Adrià Arrufat
2025-06-20 22:12:32 +09:00
commit be703e1920
2 changed files with 39 additions and 0 deletions

14
.SRCINFO Normal file
View File

@@ -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

25
PKGBUILD Normal file
View File

@@ -0,0 +1,25 @@
# Maintainer: Adrià Arrufat A <swiftscythe@gmail.com>
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
}