duktape-bin: init at 2.6.0
This commit is contained in:
parent
33904b8e84
commit
9dfd8fb513
26
sakamoto/duktape-bin/APKBUILD
Normal file
26
sakamoto/duktape-bin/APKBUILD
Normal 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"
|
Loading…
Reference in a new issue