hax
LOW
maintainer OleksandrC
0 votes
scanned 2026-08-20 15:11:35.617252
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: Oleksandr Chekhovskyi <oleksandr.chekhovskyi@gmail.com>
2
3
pkgname=hax
4
pkgver=0.3.0
5
pkgrel=3
6
pkgdesc="Minimalist, terminal-native coding agent written in C"
7
arch=("x86_64" "aarch64")
8
url="https://github.com/OleksandrChekhovskyi/hax"
9
license=("MIT")
10
depends=("bash" "curl" "glibc" "jansson")
11
makedepends=("meson" "ninja" "pkgconf")
12
optdepends=(
13
"fzf: @file picker"
14
"git: repository context and faster @file candidate listing"
15
"less: default pager for the transcript view"
16
"wl-clipboard: clipboard support on Wayland"
17
"xclip: clipboard support and image paste on X11"
18
"xsel: clipboard support on X11"
19
)
20
source=("$pkgname-$pkgver.tar.xz::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
21
sha256sums=("5fa25dcb71bb462436b33f0272346745973c0c33fc614ca8683627e97432b6aa")
22
23
# The 0.3.0 tarball describes whatever repository encloses it, stamping this packaging clone's
24
# commit instead of the release. Capping the search makes git fail, which selects meson's
25
# fallback. Needed on every meson call: version.h is regenerated on install, and package() runs
26
# in a separate fakeroot process. Upstream guards this now; drop once a release carries the fix.
27
build() {
28
arch-meson "$pkgname-$pkgver" build
29
GIT_CEILING_DIRECTORIES="$srcdir" meson compile -C build
30
}
31
32
check() {
33
# Smoke test only. The full suite runs in upstream CI.
34
build/hax --version | grep -qx "hax v$pkgver"
35
}
36
37
package() {
38
GIT_CEILING_DIRECTORIES="$srcdir" meson install -C build --destdir "$pkgdir"
39
install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
40
}
41
Changes since previous scan
--- PKGBUILD @ 2026-08-14 00:03+++ PKGBUILD @ 2026-08-20 15:11@@ -2,14 +2,13 @@ pkgname=hax pkgver=0.3.0-pkgrel=1+pkgrel=3 pkgdesc="Minimalist, terminal-native coding agent written in C" arch=("x86_64" "aarch64") url="https://github.com/OleksandrChekhovskyi/hax" license=("MIT") depends=("bash" "curl" "glibc" "jansson") makedepends=("meson" "ninja" "pkgconf")-checkdepends=("python") optdepends=( "fzf: @file picker" "git: repository context and faster @file candidate listing"@@ -21,17 +20,22 @@ source=("$pkgname-$pkgver.tar.xz::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz") sha256sums=("5fa25dcb71bb462436b33f0272346745973c0c33fc614ca8683627e97432b6aa") +# The 0.3.0 tarball describes whatever repository encloses it, stamping this packaging clone's+# commit instead of the release. Capping the search makes git fail, which selects meson's+# fallback. Needed on every meson call: version.h is regenerated on install, and package() runs+# in a separate fakeroot process. Upstream guards this now; drop once a release carries the fix. build() { arch-meson "$pkgname-$pkgver" build- meson compile -C build+ GIT_CEILING_DIRECTORIES="$srcdir" meson compile -C build } check() {- meson test -C build --print-errorlogs+ # Smoke test only. The full suite runs in upstream CI.+ build/hax --version | grep -qx "hax v$pkgver" } package() {- meson install -C build --destdir "$pkgdir"+ GIT_CEILING_DIRECTORIES="$srcdir" meson install -C build --destdir "$pkgdir" install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-20 15:11:35 | Low | 1 |
| 2026-08-14 00:03:41 | Clean | 2 |
| 2026-08-13 13:26:16 | Low | 1 |
| 2026-08-13 11:26:16 | Low | 1 |