description='A modern runtime for JavaScript and TypeScript'
url='https://deno.land/'

packager="spiky <spiky@nutyx.org>"
contributors="BlogofraisFR"

makedepends=(rustc)
run=()

name=deno
version=1.29.2

source=(https://github.com/denoland/$name/archive/refs/tags/v$version.tar.gz)

build() {
  cd $name-$version
  cargo build --release --manifest-path Cargo.toml
  install -Dm 755 target/release/deno -t "${PKG}"/usr/bin/
}
