Update PKGBUILD and .SRCINFO with GitHub Actions

This commit is contained in:
minhnbnt
2025-08-07 00:52:21 +00:00
parent 69f4e74d05
commit 3ce3383f37
2 changed files with 6 additions and 6 deletions

View File

@@ -1,13 +1,13 @@
pkgbase = gemini-cli-bin pkgbase = gemini-cli-bin
pkgdesc = An open-source AI agent that brings the power of Gemini directly into your terminal. pkgdesc = An open-source AI agent that brings the power of Gemini directly into your terminal.
pkgver = 0.1.18 pkgver = 0.1.18
pkgrel = 1 pkgrel = 2
url = https://github.com/google-gemini/gemini-cli url = https://github.com/google-gemini/gemini-cli
arch = any arch = any
license = Apache-2.0 license = Apache-2.0
depends = nodejs depends = nodejs
provides = gemini-cli provides = gemini-cli
source = https://github.com/google-gemini/gemini-cli/releases/download/v0.1.18/gemini.js source = gemini-0.1.18.js::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 source = LICENSE-0.1.18::https://github.com/google-gemini/gemini-cli/raw/refs/tags/v0.1.18/LICENSE
sha256sums = bc44222d7565da749b1649b2f41a3e5a6d00b0f17cb20ce41cdf3aee0ce0140f sha256sums = bc44222d7565da749b1649b2f41a3e5a6d00b0f17cb20ce41cdf3aee0ce0140f
sha256sums = 09d2d564b15d1a8be7713524b27aa8b10e55ae7cd8aeaf1e04e6059adda0de10 sha256sums = 09d2d564b15d1a8be7713524b27aa8b10e55ae7cd8aeaf1e04e6059adda0de10

View File

@@ -2,7 +2,7 @@
pkgname=gemini-cli-bin pkgname=gemini-cli-bin
pkgver=0.1.18 # datasource=github-releases depName=google-gemini/gemini-cli pkgver=0.1.18 # datasource=github-releases depName=google-gemini/gemini-cli
pkgrel=1 pkgrel=2
pkgdesc='An open-source AI agent that brings the power of Gemini directly into your terminal.' pkgdesc='An open-source AI agent that brings the power of Gemini directly into your terminal.'
arch=('any') arch=('any')
url='https://github.com/google-gemini/gemini-cli' url='https://github.com/google-gemini/gemini-cli'
@@ -11,7 +11,7 @@ depends=('nodejs')
provides=('gemini-cli') provides=('gemini-cli')
source=( source=(
"${url}/releases/download/v${pkgver}/gemini.js" "gemini-${pkgver}.js::${url}/releases/download/v${pkgver}/gemini.js"
"LICENSE-${pkgver}::${url}/raw/refs/tags/v${pkgver}/LICENSE" "LICENSE-${pkgver}::${url}/raw/refs/tags/v${pkgver}/LICENSE"
) )
@@ -19,6 +19,6 @@ sha256sums=('bc44222d7565da749b1649b2f41a3e5a6d00b0f17cb20ce41cdf3aee0ce0140f'
'09d2d564b15d1a8be7713524b27aa8b10e55ae7cd8aeaf1e04e6059adda0de10') '09d2d564b15d1a8be7713524b27aa8b10e55ae7cd8aeaf1e04e6059adda0de10')
package() { package() {
install -Dm755 "gemini.js" "${pkgdir}/usr/bin/gemini" install -Dm755 "gemini-${pkgver}.js" "${pkgdir}/usr/bin/gemini"
install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} }