quickjs-ng-git
LOW
maintainer Chocobo1
0 votes
scanned 2026-09-26 19:15:27.170046
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
3
pkgname=quickjs-ng-git
4
pkgver=0.17.0.r2.g19dbe85
5
pkgrel=1
6
pkgdesc="A mighty JavaScript engine"
7
arch=('i686' 'x86_64')
8
url="https://quickjs-ng.github.io/quickjs/"
9
license=('MIT')
10
depends=('glibc')
11
makedepends=('git' 'cmake')
12
provides=("quickjs-ng=$pkgver")
13
conflicts=('quickjs-ng')
14
source=("git+https://github.com/quickjs-ng/quickjs.git")
15
sha256sums=('SKIP')
16
17
18
pkgver() {
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
27
build() {
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
41
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-26 19:15:27 | Low | 1 |