gitee-cli
LOW
maintainer taotieren
0 votes
scanned 2026-11-03 08:04:08.432872
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: taotieren <admin@taotieren.com>
2
3
pkgname=gitee-cli
4
pkgver=0.3.3
5
pkgrel=1
6
pkgdesc="Gitee CLI is a tool which interact with gitee server seamlessly via terminal"
7
arch=($CARCH)
8
url="https://gitee.com/oschina/gitee-cli"
9
license=('MIT')
10
provides=(${pkgname})
11
conflicts=(${pkgname})
12
#replaces=(${pkgname})
13
depends=()
14
makedepends=(
15
git
16
go
17
)
18
optdepends=(
19
'gitee-lfs-multipart-uploader: Gitee LFS high-speed object storage direct transfer tool'
20
'mcp-gitee: Gitee MCP Server is a Model Context Protocol (MCP) server implementation for Gitee'
21
'mcp-gitee-ent: Gitee Enterprise MCP Server is a Model Context Protocol (MCP) server implementation for Gitee Enterprise.'
22
)
23
backup=()
24
options=('!strip' '!debug')
25
#install=${pkgname}.install
26
source=("${pkgname}::git+${url}.git#tag=v${pkgver}")
27
sha256sums=('36dfeddded07659bc7437a8d7d96bbfeccaf5cad98d1c66cc05cdaf446599a64')
28
29
prepare() {
30
git -C "${srcdir}/${pkgname}" clean -dfx
31
}
32
33
build() {
34
cd "${srcdir}/${pkgname}"
35
export CGO_CPPFLAGS="${CPPFLAGS}"
36
export CGO_CFLAGS="${CFLAGS}"
37
export CGO_CXXFLAGS="${CXXFLAGS}"
38
export CGO_LDFLAGS="${LDFLAGS}"
39
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
40
export GO111MODULE=on
41
export GOPROXY=https://goproxy.cn,direct
42
43
mkdir -pv build/
44
go build -o build/${pkgname} ./cmd/gitee
45
}
46
47
package() {
48
cd "${srcdir}/${pkgname}"
49
50
install -vDm755 build/${pkgname} -t ${pkgdir}/usr/bin/
51
install -vDm0644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
52
cp -R docs "${pkgdir}/usr/share/doc/${pkgname}/"
53
install -vDm0644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
54
}
55
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-03 08:04:08 | Low | 1 |