zg

LOW
maintainer aminvakil 0 votes scanned 2026-09-03 19:54:21.739188
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: Amin Vakil <info AT aminvakil DOT com>
2
3_pkgname=zvec-grep
4pkgname=zg
5pkgver=0.2.0
6pkgrel=3
7pkgdesc="Local-first search across your workspace, built for humans and AI agents"
8arch=('x86_64' 'aarch64')
9url="https://github.com/zvec-ai/zvec-grep"
10license=('Apache-2.0')
11depends=('nodejs>=22')
12makedepends=('npm')
13source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14sha256sums=('5162be1998ece6c4f2177e22643cc14abfa0a1077522cb764dfe49ceb45e9dc1')
15
16build() {
17 cd "${_pkgname}-${pkgver}"
18
19 npm ci --cache "${srcdir}/npm-cache" --ignore-scripts --no-audit --no-fund
20 npm run build
21 npm prune --cache "${srcdir}/npm-cache" \
22 --omit=dev --ignore-scripts --no-audit --no-fund
23}
24
25package() {
26 cd "${_pkgname}-${pkgver}"
27
28 local mod_dir="/usr/lib/node_modules/${pkgname}"
29
30 install -dm755 "$pkgdir/$mod_dir/node_modules"
31 install -dm755 "$pkgdir/usr/bin" \
32 "$pkgdir/usr/share/doc/${pkgname}"
33
34 cp -ap dist "$pkgdir/$mod_dir"
35 cp -a node_modules/. "$pkgdir/$mod_dir/node_modules/"
36 install -Dm644 package.json "$pkgdir/$mod_dir/package.json"
37 ln -s "$mod_dir/dist/cli/index.js" "$pkgdir/usr/bin/${pkgname}"
38
39 cp -r docs/* "$pkgdir/usr/share/doc/$pkgname/"
40 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
41 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
42}
43

Scan history

Scanned at (UTC)SeverityRules
2026-09-03 19:54:21 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