duktape-bin: init at 2.6.0

meow
ptrcnull 2021-04-29 20:03:01 +02:00
parent 33904b8e84
commit 9dfd8fb513
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
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"