Update PKGBUILD and .SRCINFO with GitHub Actions
This commit is contained in:
15
.SRCINFO
Normal file
15
.SRCINFO
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
pkgbase = gemini-cli-bin
|
||||||
|
pkgdesc = An open-source AI agent that brings the power of Gemini directly into your terminal.
|
||||||
|
pkgver = 0.1.18
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/google-gemini/gemini-cli
|
||||||
|
arch = any
|
||||||
|
license = Apache-2.0
|
||||||
|
depends = nodejs
|
||||||
|
provides = gemini-cli
|
||||||
|
source = https://github.com/google-gemini/gemini-cli/releases/download/v0.1.18/gemini.js
|
||||||
|
source = LICENSE-0.1.18::https://github.com/google-gemini/gemini-cli/raw/refs/tags/v0.1.18/LICENSE
|
||||||
|
sha256sums = bc44222d7565da749b1649b2f41a3e5a6d00b0f17cb20ce41cdf3aee0ce0140f
|
||||||
|
sha256sums = 09d2d564b15d1a8be7713524b27aa8b10e55ae7cd8aeaf1e04e6059adda0de10
|
||||||
|
|
||||||
|
pkgname = gemini-cli-bin
|
||||||
24
PKGBUILD
Normal file
24
PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Contributor: Nguyễn Quang Minh <minhnbnt at gmail dot com>
|
||||||
|
|
||||||
|
pkgname=gemini-cli-bin
|
||||||
|
pkgver=0.1.18 # datasource=github-releases depName=google-gemini/gemini-cli
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='An open-source AI agent that brings the power of Gemini directly into your terminal. '
|
||||||
|
arch=('any')
|
||||||
|
url='https://github.com/google-gemini/gemini-cli'
|
||||||
|
license=('Apache-2.0')
|
||||||
|
depends=('nodejs')
|
||||||
|
provides=('gemini-cli')
|
||||||
|
|
||||||
|
source=(
|
||||||
|
"${url}/releases/download/v${pkgver}/gemini.js"
|
||||||
|
"LICENSE-${pkgver}::${url}/raw/refs/tags/v${pkgver}/LICENSE"
|
||||||
|
)
|
||||||
|
|
||||||
|
sha256sums=('bc44222d7565da749b1649b2f41a3e5a6d00b0f17cb20ce41cdf3aee0ce0140f'
|
||||||
|
'09d2d564b15d1a8be7713524b27aa8b10e55ae7cd8aeaf1e04e6059adda0de10')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 "gemini.js" "${pkgdir}/usr/bin/gemini"
|
||||||
|
install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user