mothx
LOW
maintainer taotieren
0 votes
scanned 2026-11-03 12:04:35.126831
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=mothx
4
pkgver=1.3.107
5
pkgrel=1
6
pkgdesc="🚀 One Binary to Rule Them All — Your AI Coding Assistant in the Terminal"
7
arch=($CARCH)
8
url="https://github.com/oschina/mothx"
9
license=('MIT')
10
provides=(${pkgname} vibecoding)
11
conflicts=(${pkgname} vibecoding)
12
#replaces=(${pkgname})
13
depends=(
14
sh
15
bubblewrap
16
)
17
makedepends=(
18
git
19
go
20
npm
21
nodejs
22
)
23
optdepends=()
24
backup=()
25
options=('!debug')
26
#install=${pkgname}.install
27
source=("${pkgname}::git+${url}.git#tag=v${pkgver}")
28
sha256sums=('1bee9bb035f13e0fc0ad6a1e1be1b813cdbf66490b78e6d17abcbb9cc175fc77')
29
30
prepare() {
31
git -C "${srcdir}/${pkgname}" clean -dfx
32
}
33
34
build() {
35
cd "${srcdir}/${pkgname}"
36
export CGO_CPPFLAGS="${CPPFLAGS}"
37
export CGO_CFLAGS="${CFLAGS}"
38
export CGO_CXXFLAGS="${CXXFLAGS}"
39
export CGO_LDFLAGS="${LDFLAGS}"
40
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
41
export GO111MODULE=on
42
export GOPROXY=https://goproxy.cn,direct
43
44
# mkdir -pv build/
45
# go build -o build/${pkgname%-git} ./cmd/mothx
46
make ui-install
47
make ui-build
48
make build
49
}
50
51
package() {
52
cd "${srcdir}/${pkgname}"
53
54
install -vDm755 bin/${pkgname} -t ${pkgdir}/usr/bin/
55
install -vDm0644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
56
cp -R docs "${pkgdir}/usr/share/doc/${pkgname}/"
57
install -vDm0644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
58
ln -sf /usr/bin/${pkgname} ${pkgdir}/usr/bin/vibecoding
59
}
60
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-03 12:04:35 | Low | 1 |