juggler-git

LOW
maintainer aozaki 0 votes scanned 2026-09-11 17:22:59.755085
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: ycna07 <aozakitouko at foxmail dot com>
2pkgname=juggler-git
3_pkgname=juggler
4pkgver=0.6.2.r1.g19571f9
5pkgrel=1
6pkgdesc="The Juggler Code Agent"
7arch=('x86_64' 'aarch64')
8url="https://github.com/juggler-ai/juggler"
9license=('AGPL-3.0-or-later' 'Apache-2.0')
10depends=(
11 'glib2'
12 'glibc'
13 'gtk4'
14 'hicolor-icon-theme'
15 'libsoup3'
16 'libx11'
17 'webkitgtk-6.0'
18)
19makedepends=('git' 'go')
20provides=("${_pkgname}")
21conflicts=("${_pkgname}")
22options=('!lto')
23source=("${_pkgname}::git+${url}.git"
24 'juggler.desktop')
25install=hint.install
26b2sums=('SKIP'
27 'b7dcf1b2c626e0c37badd2b5bbd58982c195a0ffafcd334111d8420806fb506a727594ba0ad821866149188ad76a476c9a9aab8e09d1bd860ce3520692e14a24')
28
29
30pkgver() {
31 cd "${_pkgname}"
32 git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
33}
34
35prepare() {
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
49build() {
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
69package() {
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)SeverityRules
2026-09-11 17:22:59 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