superhtml-git
LOW
maintainer paemuri
0 votes
scanned 2026-10-23 11:37:13.522338
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: Rafael Escobar <rafael@paemuri.com>
2
3
pkgname=superhtml-git
4
pkgver=0.7.0.r17.gf0deee8
5
pkgrel=1
6
pkgdesc='HTML Language Server & Templating Language Library (git)'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/kristoff-it/superhtml'
9
license=('MIT')
10
provides=('superhtml')
11
conflicts=('superhtml' 'superhtml-bin')
12
makedepends=('git' 'zig')
13
# The release build is stripped by makepkg, so a debug package would be empty.
14
options=('!debug')
15
source=("$pkgname::git+$url.git")
16
sha256sums=('SKIP')
17
18
pkgver() {
19
cd "$srcdir/$pkgname"
20
git describe --long --tags --match '*.*.*' |
21
sed 's/^v//; s/\([^-]*-g\)/r\1/; s/-/./g'
22
}
23
24
build() {
25
cd "$srcdir/$pkgname"
26
# Keeps Zig's package cache out of the home directory.
27
export ZIG_GLOBAL_CACHE_DIR="$srcdir/zig-cache"
28
# Zig fetches the packages pinned in build.zig.zon during the build.
29
zig build -Doptimize=ReleaseFast -Dversion="$pkgver"
30
}
31
32
package() {
33
cd "$srcdir/$pkgname"
34
install -Dm0755 -s "zig-out/bin/superhtml" "$pkgdir/usr/bin/superhtml"
35
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36
}
37
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-23 11:37:13 | Low | 1 |