[arch-commits] Commit in deno/repos (community-x86_64 community-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Aug 15 07:14:21 UTC 2020


    Date: Saturday, August 15, 2020 @ 07:14:21
  Author: felixonmars
Revision: 679466

archrelease: copy trunk to community-x86_64

Added:
  deno/repos/community-x86_64/
  deno/repos/community-x86_64/PKGBUILD
    (from rev 679465, deno/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: deno/repos/community-x86_64/PKGBUILD (from rev 679465, deno/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-08-15 07:14:21 UTC (rev 679466)
@@ -0,0 +1,34 @@
+# Maintainer: Metal A-wing <1 at 233 dot email>
+
+pkgname=deno
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio"
+arch=('i686' 'x86_64')
+url="https://github.com/denoland/deno"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('git' 'python' 'cargo' 'nodejs')
+source=("git+https://github.com/denoland/deno#tag=v$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  git submodule update --init --recursive
+}
+
+build() {
+  cd $pkgname
+  cargo build --release
+}
+
+check() {
+  cd $pkgname
+  ./target/release/deno run cli/tests/002_hello.ts
+}
+
+package() {
+  cd $pkgname
+  install -Dm755 target/release/deno "$pkgdir"/usr/bin/deno
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list