Date: Tuesday, November 24, 2020 @ 18:42:44 Author: felixonmars Revision: 761004
archrelease: copy trunk to community-x86_64 Added: deno/repos/community-x86_64/PKGBUILD (from rev 761003, deno/trunk/PKGBUILD) Deleted: deno/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-24 18:42:26 UTC (rev 761003) +++ PKGBUILD 2020-11-24 18:42:44 UTC (rev 761004) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Metal A-wing <1 at 233 dot email> - -pkgname=deno -pkgver=1.5.2 -pkgrel=1 -pkgdesc="A secure runtime for JavaScript and TypeScript" -arch=('x86_64') -url="https://deno.land" -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 -dm755 "$pkgdir"/usr/share/bash-completion/completions - ./target/release/deno completions bash > "$pkgdir"/usr/share/bash-completion/completions/deno - install -dm755 "$pkgdir"/usr/share/zsh/site-functions - ./target/release/deno completions zsh > "$pkgdir"/usr/share/zsh/site-functions/_deno - install -dm755 "$pkgdir"/usr/share/fish/vendor_functions.d - ./target/release/deno completions fish > "$pkgdir"/usr/share/fish/vendor_functions.d/deno.fish - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: deno/repos/community-x86_64/PKGBUILD (from rev 761003, deno/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-24 18:42:44 UTC (rev 761004) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Metal A-wing <1 at 233 dot email> + +pkgname=deno +pkgver=1.5.3 +pkgrel=1 +pkgdesc="A secure runtime for JavaScript and TypeScript" +arch=('x86_64') +url="https://deno.land" +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 -dm755 "$pkgdir"/usr/share/bash-completion/completions + ./target/release/deno completions bash > "$pkgdir"/usr/share/bash-completion/completions/deno + install -dm755 "$pkgdir"/usr/share/zsh/site-functions + ./target/release/deno completions zsh > "$pkgdir"/usr/share/zsh/site-functions/_deno + install -dm755 "$pkgdir"/usr/share/fish/vendor_functions.d + ./target/release/deno completions fish > "$pkgdir"/usr/share/fish/vendor_functions.d/deno.fish + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}