Skip to content

Commit

Permalink
Update quickjs to 2024.01.13 (#851)
Browse files Browse the repository at this point in the history
* Update quickjs to 2024.01.13

* Remove patch from package

* Delete package/quickjs/quickjs.patch

* Fix quickjs compile

* Add qjscalc symlink

* Fix lint error
  • Loading branch information
Eeems committed Oct 12, 2024
1 parent b1b68da commit 21fccd0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 24 deletions.
19 changes: 8 additions & 11 deletions package/quickjs/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,26 @@
pkgnames=(quickjs)
pkgdesc="A small and embeddable Javascript engine"
url=https://bellard.org/quickjs/
pkgver=2020.11.08-2
pkgver=2024.01.13-1
section="devel"
timestamp=2020-11-08T13:44Z
timestamp=2024-01-13T00:00Z
maintainer="khanhas <[email protected]>"
license=MIT

image=base:v2.1
image=base:v3.1
source=(
https://bellard.org/quickjs/quickjs-2020-11-08.tar.xz
quickjs.patch
https://bellard.org/quickjs/quickjs-2024-01-13.tar.xz
)
sha256sums=(
2e9d63dab390a95ed365238f21d8e9069187f7ed195782027f0ab311bb64187b
SKIP
3c4bf8f895bfa54beb486c8d1218112771ecfc5ac3be1036851ef41568212e03
)

build() {
patch -u Makefile -i quickjs.patch
make qjs.arm
make CROSS_PREFIX="$CROSS_COMPILE" qjs qjscalc
}

package() {
install -d "$pkgdir"/opt/bin
install -D -m 755 -t "$pkgdir"/opt/bin/ "$srcdir"/qjs.arm
mv "$pkgdir"/opt/bin/qjs.arm "$pkgdir"/opt/bin/qjs
install -D -m 755 -t "$pkgdir"/opt/bin/ "$srcdir"/qjs
ln -s qjs "$pkgdir"/opt/bin/qjscalc
}
13 changes: 0 additions & 13 deletions package/quickjs/quickjs.patch

This file was deleted.

0 comments on commit 21fccd0

Please sign in to comment.