blob: 8b1a8e3f7b66aeb663e453c8bb859237c37b2385 (
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.6.0
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 }
|