From e0de491bfb3014a30ae74811cacee08a9bc09d9e Mon Sep 17 00:00:00 2001 From: toluschr Date: Sun, 17 May 2020 16:45:05 +0200 Subject: [PATCH] New package: deno-1.0.0 --- srcpkgs/deno/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/deno/template diff --git a/srcpkgs/deno/template b/srcpkgs/deno/template new file mode 100644 index 00000000000000..041600ba35968d --- /dev/null +++ b/srcpkgs/deno/template @@ -0,0 +1,21 @@ +# Template file for 'deno' +pkgname=deno +version=1.0.0 +revision=1 +wrksrc="${pkgname}" +build_style=cargo +hostmakedepends="python3 pkg-config" +makedepends="libglib-devel" +short_desc="Secure JavaScript and TypeScript runtime" +maintainer="toluschr " +license="MIT" +homepage="https://github.com/denoland/deno/" +distfiles="https://github.com/denoland/deno/releases/download/v${version}/deno_src.tar.gz" +checksum=89709f489e4cbbcfd6913d14e903fcb47c92f329d077477190b0dbd8bd23acc7 + +export V8_FROM_SOURCE=1 + +do_install() { + vbin "$(find target -name deno -print -quit)" + vlicense LICENSE +}