Skip to content

Commit 21fccd0

Browse files
committed
Update quickjs to 2024.01.13 (#851)
* Update quickjs to 2024.01.13 * Remove patch from package * Delete package/quickjs/quickjs.patch * Fix quickjs compile * Add qjscalc symlink * Fix lint error
1 parent b1b68da commit 21fccd0

File tree

2 files changed

+8
-24
lines changed

2 files changed

+8
-24
lines changed

package/quickjs/package

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,26 @@
55
pkgnames=(quickjs)
66
pkgdesc="A small and embeddable Javascript engine"
77
url=https://bellard.org/quickjs/
8-
pkgver=2020.11.08-2
8+
pkgver=2024.01.13-1
99
section="devel"
10-
timestamp=2020-11-08T13:44Z
10+
timestamp=2024-01-13T00:00Z
1111
maintainer="khanhas <xuankhanh963@gmail.com>"
1212
license=MIT
1313

14-
image=base:v2.1
14+
image=base:v3.1
1515
source=(
16-
https://bellard.org/quickjs/quickjs-2020-11-08.tar.xz
17-
quickjs.patch
16+
https://bellard.org/quickjs/quickjs-2024-01-13.tar.xz
1817
)
1918
sha256sums=(
20-
2e9d63dab390a95ed365238f21d8e9069187f7ed195782027f0ab311bb64187b
21-
SKIP
19+
3c4bf8f895bfa54beb486c8d1218112771ecfc5ac3be1036851ef41568212e03
2220
)
2321

2422
build() {
25-
patch -u Makefile -i quickjs.patch
26-
make qjs.arm
23+
make CROSS_PREFIX="$CROSS_COMPILE" qjs qjscalc
2724
}
2825

2926
package() {
3027
install -d "$pkgdir"/opt/bin
31-
install -D -m 755 -t "$pkgdir"/opt/bin/ "$srcdir"/qjs.arm
32-
mv "$pkgdir"/opt/bin/qjs.arm "$pkgdir"/opt/bin/qjs
28+
install -D -m 755 -t "$pkgdir"/opt/bin/ "$srcdir"/qjs
29+
ln -s qjs "$pkgdir"/opt/bin/qjscalc
3330
}

package/quickjs/quickjs.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)