gitee-cli-git
The package builds from the official Gitee CLI Git repository, uses a SKIP'd checksum due to the git source, and compiles the code locally with standard Go tooling; while the host is not on a whitelist and votes are few, this is a normal AUR pattern for git-based packages with no evidence of malicious behavior.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the official Gitee CLI Git repository, uses a SKIP'd checksum due to the git source, and compiles the code locally with standard Go tooling; while the host is not on a whitelist and votes are few, this is a normal AUR pattern for git-based packages with no evidence of malicious behavior.
PKGBUILD
# Maintainer: taotieren <admin@taotieren.com>
pkgname=gitee-cli-git
pkgver=0.3.3.r0.gb9500a1
pkgrel=1
pkgdesc="Gitee CLI is a tool which interact with gitee server seamlessly via terminal"
arch=($CARCH)
url="https://gitee.com/oschina/gitee-cli"
license=('MIT')
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
#replaces=(${pkgname})
depends=()
makedepends=(
git
go
)
optdepends=(
'gitee-lfs-multipart-uploader: Gitee LFS high-speed object storage direct transfer tool'
'mcp-gitee: Gitee MCP Server is a Model Context Protocol (MCP) server implementation for Gitee'
'mcp-gitee-ent: Gitee Enterprise MCP Server is a Model Context Protocol (MCP) server implementation for Gitee Enterprise.'
)
backup=()
options=('!strip' '!debug')
#install=${pkgname}.install
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
(
set -o pipefail
git describe --long --tag --abbrev=7 2>/dev/null | sed 's/^[vV]//g;s/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
)
}
prepare() {
git -C "${srcdir}/${pkgname}" clean -dfx
}
build() {
cd "${srcdir}/${pkgname}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
export GO111MODULE=on
export GOPROXY=https://goproxy.cn,direct
mkdir -pv build/
go build -o build/${pkgname%-git} ./cmd/gitee
}
package() {
cd "${srcdir}/${pkgname}"
install -vDm755 build/${pkgname%-git} -t ${pkgdir}/usr/bin/
install -vDm0644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
cp -R docs "${pkgdir}/usr/share/doc/${pkgname}/"
install -vDm0644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-03 08:04:08 | Low | 2 |