Created
October 25, 2018 15:48
-
-
Save TheDarkula/cc8c0f4a4c94c704755e6e120fad3259 to your computer and use it in GitHub Desktop.
angular-cli PKGBUILD 7.0.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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