zap

LOW
maintainer Cube1ber 0 votes scanned 2026-10-07 20:06:42.279410
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: Cube1ber (https://github.com/cube-one-ber)
2pkgname=zap
3pkgver=0.1.0.r9.g2a72f84c64b3
4pkgrel=1
5pkgdesc='Native Zig AUR helper with libalpm transactions and systemd run0'
6arch=('x86_64')
7url='https://github.com/cube-one-ber/zap'
8license=('GPL-3.0-or-later')
9depends=('pacman>=7.0' 'libalpm.so' 'curl' 'git' 'bubblewrap' 'systemd>=256' 'base-devel')
10optdepends=('polkit: authentication for systemd run0')
11makedepends=('pkgconf')
12# An external, verified Zig 0.15.2 compiler may be supplied for local builds.
13if [[ -z ${ZIG:-} ]]; then
14 makedepends+=('zig0.15')
15fi
16conflicts=('zap-git' 'zap-bin')
17source=("zap-$pkgver.tar.gz::$url/releases/download/v$pkgver/zap-source.tar.gz")
18sha256sums=('56b97e96f59906397b8362ea060a005966603e3858928274b2a3a601473363e9')
19
20build() {
21 cd "$srcdir/zap"
22 local _compiler=${ZIG:-/usr/bin/zig-0.15}
23 if [[ $("$_compiler" version) != 0.15.2 ]]; then
24 error 'zap requires Zig 0.15.2; use zig0.15 or set ZIG to that compiler'
25 return 1
26 fi
27 "$_compiler" build -Doptimize=ReleaseSafe
28}
29
30check() {
31 cd "$srcdir/zap"
32 "${ZIG:-/usr/bin/zig-0.15}" build test
33}
34
35package() {
36 cd "$srcdir/zap"
37 install -Dm755 zig-out/bin/zap "$pkgdir/usr/bin/zap"
38 install -Dm644 packaging/zap.1 "$pkgdir/usr/share/man/man1/zap.1"
39 install -Dm644 packaging/completions/zap.bash "$pkgdir/usr/share/bash-completion/completions/zap"
40 install -Dm644 packaging/completions/_zap "$pkgdir/usr/share/zsh/site-functions/_zap"
41 install -Dm644 packaging/completions/zap.fish "$pkgdir/usr/share/fish/vendor_completions.d/zap.fish"
42 install -Dm644 README.md "$pkgdir/usr/share/doc/zap/README.md"
43 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/zap/LICENSE"
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-10-07 20:06:42 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