blob: 33610dde447a0eceb100251c6c5ddff32da9a1eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Charles Dong <chardon_cs@proton.me>
pkgname=deno-init
pkgver=2.x.x
pkgrel=2
pkgdesc="Startup AUR providing the latest deno runtime, then you can upgrade deno using \`deno upgrade\`"
arch=('x86_64' 'aarch64')
url="https://deno.com"
license=(MIT)
provides=(deno)
conflicts=(deno)
_target=deno-$CARCH-unknown-linux-gnu.zip
_baseurl=https://github.com/denoland/deno/releases/latest/download
source=(
$_baseurl/${_target}
$_baseurl/${_target}.sha256sum
)
sha256sums=(
SKIP
SKIP
)
check() {
cd $srcdir
echo "Checksums: "
sha256sum -c $_target.sha256sum
}
package() {
install -Dm755 "$srcdir/deno" "$pkgdir/usr/bin/deno"
}
|