diff options
author | Jonas Schürmann | 2018-07-01 18:26:52 +0200 |
---|---|---|
committer | Jonas Schürmann | 2018-07-01 18:26:52 +0200 |
commit | 694eb8dea1048369c10ad0ecf264dca96a6d7f08 (patch) | |
tree | c357507d218e9663fe1ac1cf685492f647dfdfc2 /PKGBUILD | |
download | aur-reason-cli.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b7e42b9f0c74 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Jonas Schürmann <jonasschuermann@aol.de> +pkgname=reason-cli +pkgver=3.2.0 +_npmver="${pkgver}-linux" +pkgrel=1 +arch=(any) +url="https://reasonml.github.io/" +license=() +depends=('nodejs' 'npm' ) +optdepends=() +options=(!strip) + +package() { + npm install -g --prefix "$pkgdir/usr" "${pkgname}@${_npmver}" + # 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 {} + +} |