summaryrefslogblamecommitdiff
path: root/user/duktape/APKBUILD
blob: 8d90dee87393a101c62b59930dfad1ebf556b4ee (plain) (tree)




























                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=duktape
pkgver=2.7.0
pkgrel=0
pkgdesc="Embeddable JavaScript/ECMAScript engine"
url="https://duktape.org/"
arch="all"
options="!check"  # No test suite.
license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://duktape.org/duktape-$pkgver.tar.xz"

prepare() {
	default_prepare
	ln -s "$builddir"/Makefile.sharedlibrary "$builddir"/Makefile
}

build() {
	make INSTALL_PREFIX=/usr LIBDIR=/lib
}

package() {
	make INSTALL_PREFIX=/usr DESTDIR="$pkgdir" LIBDIR=/lib install
}

sha512sums="8ff5465c9c335ea08ebb0d4a06569c991b9dc4661b63e10da6b123b882e7375e82291d6b883c2644902d68071a29ccc880dae8229447cebe710c910b54496c1d  duktape-2.7.0.tar.xz"