diff options
author | Jonas Schürmann | 2018-09-04 21:16:42 +0200 |
---|---|---|
committer | Jonas Schürmann | 2018-09-04 21:16:42 +0200 |
commit | 95701234566fa7ad14d65358b35d6e3de3e882c1 (patch) | |
tree | f8e1cfe64adff18affcf15e6c2d63bd81fda0e01 | |
download | aur-95701234566fa7ad14d65358b35d6e3de3e882c1.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 17 |
3 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..42de8d919a8f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = elm-upgrade + pkgdesc = Upgrade Elm projects + pkgver = 0.19.6 + pkgrel = 1 + url = https://github.com/avh4/elm-upgrade + arch = any + depends = nodejs + depends = npm + options = !strip + +pkgname = elm-upgrade + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..018a3de08144 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e6496b698b6b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +pkgname=elm-upgrade +pkgver=0.19.6 +pkgrel=1 +pkgdesc="Upgrade Elm projects" +arch=(any) +url="https://github.com/avh4/elm-upgrade" +license=() +depends=('nodejs' 'npm') +optdepends=() +options=(!strip) + +package() { + npm install -g --prefix "$pkgdir/usr" $pkgname@$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 {} + +} |