mothx

LOW
maintainer taotieren 0 votes scanned 2026-11-03 12:04:35.126831
View on AUR
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
3pkgname=mothx
4pkgver=1.3.107
5pkgrel=1
6pkgdesc="🚀 One Binary to Rule Them All — Your AI Coding Assistant in the Terminal"
7arch=($CARCH)
8url="https://github.com/oschina/mothx"
9license=('MIT')
10provides=(${pkgname} vibecoding)
11conflicts=(${pkgname} vibecoding)
12#replaces=(${pkgname})
13depends=(
14 sh
15 bubblewrap
16)
17makedepends=(
18 git
19 go
20 npm
21 nodejs
22)
23optdepends=()
24backup=()
25options=('!debug')
26#install=${pkgname}.install
27source=("${pkgname}::git+${url}.git#tag=v${pkgver}")
28sha256sums=('1bee9bb035f13e0fc0ad6a1e1be1b813cdbf66490b78e6d17abcbb9cc175fc77')
29
30prepare() {
31 git -C "${srcdir}/${pkgname}" clean -dfx
32}
33
34build() {
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
51package() {
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)SeverityRules
2026-11-03 12:04:35 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion