2021-07-03 00:29:12 +02:00
|
|
|
# Description: Typed JavaScript at Any Scale.
|
|
|
|
# URL: https://www.typescriptlang.org/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: npm
|
|
|
|
|
|
|
|
name=typescript
|
2021-11-17 21:43:09 +01:00
|
|
|
version=4.5.2
|
2021-07-03 00:29:12 +02:00
|
|
|
release=1
|
|
|
|
source=(https://registry.npmjs.org/$name/-/$name-$version.tgz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cp $PKGMK_SOURCE_DIR/$name-$version.tgz .
|
|
|
|
npm install -g --prefix "$PKG"/usr $SRC/$name-$version.tgz
|
|
|
|
|
|
|
|
chown -R root:root $PKG
|
|
|
|
|
|
|
|
find $PKG \(\
|
|
|
|
-iname "*README.md*" -o \
|
|
|
|
-iname "*AUTHORS.md*" -o \
|
|
|
|
-iname "*CHANGELOG.md*" -o \
|
|
|
|
-iname "*LICENSE*" \) -delete
|
|
|
|
}
|