blob: ffbc3b7f39bf67a7f27ce3361604a1fed1f5e1c0 (
plain)
1 # Description: Typed JavaScript at Any Scale.
2 # URL: https://www.typescriptlang.org/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: npm
5
6 name=typescript
7 version=4.9.4
8 release=1
9 source=(https://registry.npmjs.org/$name/-/$name-$version.tgz)
10
11 build() {
12 cp $PKGMK_SOURCE_DIR/$name-$version.tgz .
13 npm install -g --prefix "$PKG"/usr $SRC/$name-$version.tgz
14
15 chown -R root:root $PKG
16
17 find $PKG \(\
18 -iname "*README.md*" -o \
19 -iname "*AUTHORS.md*" -o \
20 -iname "*CHANGELOG.md*" -o \
21 -iname "*LICENSE*" \) -delete
22 }
|