blob: f507fbe6de230d15e464f968ab31597d436310fe (
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
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=assemblyscript
pkgver=0.19.9
pkgrel=1
pkgdesc="TypeScript to WebAssembly compiler"
arch=('any')
url="https://assemblyscript.org/"
license=('apache')
depends=('nodejs')
makedepends=('npm')
conflicts=('typescript')
source=("https://registry.npmjs.org/assemblyscript/-/assemblyscript-$pkgver.tgz")
noextract=("assemblyscript-$pkgver.tgz")
sha256sums=('3661eccdff1ef0b8714fd1a6035d5c1060339091bbac79885d8731275c5283c0')
package() {
npm install -g --user root --prefix="$pkgdir/usr" "assemblyscript-$pkgver.tgz"
find "$pkgdir/usr" -type d -exec chmod 755 {} +
chown -R root:root "$pkgdir"
}
|