Skip to content

Instantly share code, notes, and snippets.

@TheDarkula TheDarkula/PKGBUILD
Created Oct 25, 2018

Embed
What would you like to do?
angular-cli PKGBUILD 7.0.3
pkgname=angular-cli
pkgver=7.0.3
pkgrel=1
pkgdesc="CLI tool for Angular"
arch=(any)
url="https://github.com/angular/angular-cli"
license=()
depends=('nodejs' 'npm' )
optdepends=()
options=(!strip)
package() {
npm install -g --prefix "$pkgdir/usr" @angular/cli@$pkgver
# Non-deterministic race in npm gives 777 permissions to random directories.
# See https://github.com/npm/npm/issues/9359 for details.
find "${pkgdir}"/usr -type d -exec chmod 755 {} +
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.