Skip to content

Instantly share code, notes, and snippets.

@TheDarkula
Created October 25, 2018 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheDarkula/cc8c0f4a4c94c704755e6e120fad3259 to your computer and use it in GitHub Desktop.
Save TheDarkula/cc8c0f4a4c94c704755e6e120fad3259 to your computer and use it in GitHub Desktop.
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