Date: Friday, February 3, 2023 @ 23:54:23 Author: felixonmars Revision: 1392282
archrelease: copy trunk to community-x86_64 Added: deno/repos/community-x86_64/PKGBUILD (from rev 1392281, deno/trunk/PKGBUILD) Deleted: deno/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-02-03 23:54:04 UTC (rev 1392281) +++ PKGBUILD 2023-02-03 23:54:23 UTC (rev 1392282) @@ -1,45 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Metal A-wing <1 at 233 dot email> - -pkgname=deno -pkgver=1.30.1 -_commit=000fb83c587a17118d83b990f1d08c98bb9cce2a -pkgrel=1 -pkgdesc="A secure runtime for JavaScript and TypeScript" -arch=('x86_64') -url="https://deno.land" -license=('MIT') -options=('!lto') -depends=('gcc-libs') -makedepends=('git' 'python' 'cargo' 'nodejs') -source=("git+https://github.com/denoland/deno.git#commit=$_commit") -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/testdata/run/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.md -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: deno/repos/community-x86_64/PKGBUILD (from rev 1392281, deno/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-02-03 23:54:23 UTC (rev 1392282) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Metal A-wing <1 at 233 dot email> + +pkgname=deno +pkgver=1.30.2 +_commit=cee13304ffe58286fcfab3526c46f95a7e23825d +pkgrel=1 +pkgdesc="A secure runtime for JavaScript and TypeScript" +arch=('x86_64') +url="https://deno.land" +license=('MIT') +options=('!lto') +depends=('gcc-libs') +makedepends=('git' 'python' 'cargo' 'nodejs') +source=("git+https://github.com/denoland/deno.git#commit=$_commit") +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/testdata/run/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.md -t "$pkgdir"/usr/share/licenses/$pkgname/ +}