summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 61619592521c0f7d7f0dad65c5ec351713f964c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: JOLIMAITRE Matthieu <matthieu@imagevo.fr>
pkgname="deno-stable-bin"
pkgver=2.4.1
pkgrel=1
pkgdesc="A modern JavaScript and TypeScript runtime. Latest artefact from github."
url="https://deno.land"
arch=("x86_64")
license=('MIT')
depends=('gcc-libs')
source=("https://github.com/denoland/deno/releases/latest/download/deno-$arch-unknown-linux-gnu.zip")
sha256sums=("SKIP")
options=("!strip")
provides=("deno")
conflicts=("deno")

package() {
	install -Dm755 deno "$pkgdir/usr/bin/deno" 
}

pkgver() {
	./deno --version | head -n 1 | cut -d ' ' -f 2	
}