juggler-git
LOW
maintainer aozaki
0 votes
scanned 2026-09-11 17:22:59.755085
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: ycna07 <aozakitouko at foxmail dot com>
2
pkgname=juggler-git
3
_pkgname=juggler
4
pkgver=0.6.2.r1.g19571f9
5
pkgrel=1
6
pkgdesc="The Juggler Code Agent"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/juggler-ai/juggler"
9
license=('AGPL-3.0-or-later' 'Apache-2.0')
10
depends=(
11
'glib2'
12
'glibc'
13
'gtk4'
14
'hicolor-icon-theme'
15
'libsoup3'
16
'libx11'
17
'webkitgtk-6.0'
18
)
19
makedepends=('git' 'go')
20
provides=("${_pkgname}")
21
conflicts=("${_pkgname}")
22
options=('!lto')
23
source=("${_pkgname}::git+${url}.git"
24
'juggler.desktop')
25
install=hint.install
26
b2sums=('SKIP'
27
'b7dcf1b2c626e0c37badd2b5bbd58982c195a0ffafcd334111d8420806fb506a727594ba0ad821866149188ad76a476c9a9aab8e09d1bd860ce3520692e14a24')
28
29
30
pkgver() {
31
cd "${_pkgname}"
32
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
33
}
34
35
prepare() {
36
cd "${_pkgname}"
37
38
# 3rdparty/wails is a git submodule and a `replace` target of the main Go
39
# module (see go.mod), so the tree cannot compile without it. makepkg never
40
# clones submodules: fetch the pinned commit here, shallow — the fork's full
41
# history is large and only the recorded revision is needed.
42
git submodule update --init --recursive --depth 1
43
44
# Prime the module cache so build() itself needs no network.
45
export GOFLAGS="-buildmode=pie -trimpath -mod=mod -modcacherw"
46
go mod download
47
}
48
49
build() {
50
cd "${_pkgname}"
51
52
# The GTK4/WebKitGTK backend is cgo, so the distro's C flags reach it through
53
# the CGO_* variables. GOFLAGS carries the Arch Go packaging defaults.
54
export CGO_CFLAGS="${CFLAGS}"
55
export CGO_CXXFLAGS="${CXXFLAGS}"
56
export CGO_LDFLAGS="${LDFLAGS}"
57
export GOFLAGS="-buildmode=pie -trimpath -mod=mod -modcacherw"
58
59
# release-build = go build -tags production: drops the test handlers and the
60
# worker test-support code that a shipped binary must not carry. It also
61
# regenerates the two generated embeds (icon.png, wails_runtime.js) that the
62
# build depends on. The Go linker stamps the version/commit/build date.
63
make release-build \
64
VERSION="${pkgver}" \
65
COMMIT="$(git rev-parse --short HEAD)" \
66
BUILD_DATE="$(date -u -d "@${SOURCE_DATE_EPOCH}" +%Y-%m-%dT%H:%M:%SZ)"
67
}
68
69
package() {
70
cd "${_pkgname}"
71
72
# Both halves of the pair live in the same directory on purpose: the desktop
73
# app spawns the server it finds as a sibling of its own executable
74
# (serverBinPath), and mixing an app with a different server build is not a
75
# supported configuration. See docs/distribution.md.
76
install -Dm755 bin/juggler -t "${pkgdir}/usr/bin/"
77
install -Dm755 bin/juggler-app -t "${pkgdir}/usr/bin/"
78
79
install -Dm644 "${srcdir}/juggler.desktop" -t "${pkgdir}/usr/share/applications/"
80
install -Dm644 assets/icons/flat-logo.png \
81
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/juggler.png"
82
83
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
84
install -Dm644 web/sdk/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.sdk"
85
}
86
87
88
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-11 17:22:59 | Low | 1 |