hegn-git
LOW
maintainer henriklmao
1 votes
scanned 2026-10-23 15:37:50.087015
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>
2
pkgname=hegn-git
3
pkgver=0.1.0.r68.g9029000
4
pkgrel=1
5
pkgdesc="Cloud Hypervisor MicroVM sandbox manager and TUI for coding agents (git version)"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/Henriklmao/hegn"
8
license=('MIT' 'Apache-2.0')
9
depends=('gcc-libs' 'git')
10
optdepends=(
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
)
15
provides=('hegn')
16
conflicts=('hegn' 'hegn-bin')
17
makedepends=('cargo' 'rust' 'git')
18
install=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.
22
options=('!lto' '!debug')
23
source=('hegn::git+https://github.com/Henriklmao/hegn.git'
24
'hegn.desktop')
25
sha256sums=('SKIP'
26
'05b3b79cf4d05728448a826f872296f2e8eca75fbb3716b36109c7c8e4584f63')
27
28
pkgver() {
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
35
build() {
36
cd "$srcdir/hegn"
37
export CARGO_TARGET_DIR="$srcdir/target"
38
cargo build --release --locked
39
}
40
41
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-23 15:37:50 | Low | 1 |