25 lines
718 B
Plaintext
25 lines
718 B
Plaintext
pkgname=duktape-bin
|
|
pkgver=2.6.0
|
|
pkgrel=0
|
|
pkgdesc="Embeddable Javascript engine with a focus on portability and compact footprint"
|
|
url="https://duktape.org"
|
|
arch="all"
|
|
license="MIT"
|
|
options="!check" # no tests in release archive
|
|
subpackages=""
|
|
makedepends="git python2"
|
|
source="duktape-$pkgver.tar.gz::https://github.com/svaarala/duktape/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/duktape-$pkgver"
|
|
|
|
build() {
|
|
python -m ensurepip --user
|
|
~/.local/bin/pip install --user pyaml
|
|
make
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 "duk" "$pkgdir/usr/bin/duk"
|
|
}
|
|
|
|
sha512sums="666db27dbe2721bbf896b62d98ef0e934681dc723d27d52402d845cdf01c931e36bf7dffac6ec86da649fb86ec051b0bb662740b13509efc2a794cfcff2660bc duktape-2.6.0.tar.gz"
|