blob: a661b598f6b8060a403b46000c512248416c39f8 (
plain)
1 # Description: A small, fast, JavaScript-based JavaScript parser
2 # URL: https://github.com/acornjs/acorn
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: npm
5
6 name=acorn
7 version=8.8.1
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 find $PKG \(\
15 -iname "*README.md*" -o \
16 -iname "*CHANGELOG.md*" -o \
17 -iname "*LICENSE*" \) -delete
18 }
|