quickjs-ng-git

LOW
maintainer Chocobo1 0 votes scanned 2026-09-26 19:15:27.170046
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: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3pkgname=quickjs-ng-git
4pkgver=0.17.0.r2.g19dbe85
5pkgrel=1
6pkgdesc="A mighty JavaScript engine"
7arch=('i686' 'x86_64')
8url="https://quickjs-ng.github.io/quickjs/"
9license=('MIT')
10depends=('glibc')
11makedepends=('git' 'cmake')
12provides=("quickjs-ng=$pkgver")
13conflicts=('quickjs-ng')
14source=("git+https://github.com/quickjs-ng/quickjs.git")
15sha256sums=('SKIP')
16
17
18pkgver() {
19 cd "quickjs"
20
21 _tag=$(git tag -l --sort -v:refname | grep -E '^v?[0-9\.]+$' | head -n1)
22 _rev=$(git rev-list --count "$_tag"..HEAD)
23 _hash=$(git rev-parse --short HEAD)
24 printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//'
25}
26
27build() {
28 cd "quickjs"
29
30 cmake \
31 -B "_build" \
32 -DCMAKE_BUILD_TYPE=Release \
33 -DCMAKE_INSTALL_PREFIX="/usr" \
34 -DCMAKE_INSTALL_LIBDIR="lib" \
35 -DBUILD_SHARED_LIBS=ON \
36 -DQJS_BUILD_LIBC=ON \
37 ./
38 cmake --build "_build"
39}
40
41package() {
42 cd "quickjs"
43
44 DESTDIR="$pkgdir" cmake --install "_build"
45 install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/quickjs-ng"
46}
47

Scan history

Scanned at (UTC)SeverityRules
2026-09-26 19:15:27 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