summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1ff8d684740e59645d08c3b6d2f4da55adf38fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pkgname=elm-live
pkgver=4.0.1
pkgrel=1
pkgdesc="A flexible dev server for Elm"
arch=(any)
url="https://github.com/architectcodes/elm-live"
license=()
depends=('nodejs' 'npm' 'elm-platform')
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 {} +
}