summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f51b7f2c4d99b9244b34eaee2ed2f24fc832501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Jonas Schürmann <jonasschuermann@aol.de>
pkgname=create-elm-app
pkgver=4.2.26
pkgrel=1
pkgdesc="Create Elm apps with zero configuration"
arch=(any)
url="https://github.com/halfzebra/create-elm-app"
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 {} +
}