hegn-git

LOW
maintainer henriklmao 1 votes scanned 2026-10-23 15:37:50.087015
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: Henrik Bernhardt <57109108+Henriklmao@users.noreply.github.com>
2pkgname=hegn-git
3pkgver=0.1.0.r68.g9029000
4pkgrel=1
5pkgdesc="Cloud Hypervisor MicroVM sandbox manager and TUI for coding agents (git version)"
6arch=('x86_64' 'aarch64')
7url="https://github.com/Henriklmao/hegn"
8license=('MIT' 'Apache-2.0')
9depends=('gcc-libs' 'git')
10optdepends=(
11 'cloud-hypervisor: boot MicroVMs (available as cloud-hypervisor or cloud-hypervisor-bin in the AUR)'
12 'virtiofsd: share the project directory into the guest'
13 'lazygit: open projects with the g shortcut'
14)
15provides=('hegn')
16conflicts=('hegn' 'hegn-bin')
17makedepends=('cargo' 'rust' 'git')
18install=hegn.install
19# aws-lc-sys (pulled in by rustls/reqwest) does not link with makepkg's
20# GCC LTO flags; the Rust release profile already uses thin LTO.
21# The release profile strips symbols, so a -debug package would be empty.
22options=('!lto' '!debug')
23source=('hegn::git+https://github.com/Henriklmao/hegn.git'
24 'hegn.desktop')
25sha256sums=('SKIP'
26 '05b3b79cf4d05728448a826f872296f2e8eca75fbb3716b36109c7c8e4584f63')
27
28pkgver() {
29 cd "$srcdir/hegn"
30 local version
31 version=$(grep -m1 '^version' Cargo.toml | cut -d'"' -f2)
32 printf '%s.r%s.g%s' "$version" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
33}
34
35build() {
36 cd "$srcdir/hegn"
37 export CARGO_TARGET_DIR="$srcdir/target"
38 cargo build --release --locked
39}
40
41package() {
42 cd "$srcdir/hegn"
43
44 # Install binary
45 install -Dm 755 "$srcdir/target/release/hegn" "$pkgdir/usr/bin/hegn"
46
47 # Install desktop entry (globally)
48 cd "$srcdir"
49 install -Dm 644 "hegn.desktop" "$pkgdir/usr/share/applications/hegn.desktop"
50}
51

Scan history

Scanned at (UTC)SeverityRules
2026-10-23 15:37:50 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