summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 267682b4d127128dcb1e8deb5bfca8c48da561ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pkgname=moro
pkgver=4.1.1
pkgrel=1
pkgdesc="A command line tool for tracking work hours."
arch=(any)
url="https://github.com/omidfi/moro"
license=('MIT')
depends=('nodejs')
makedepends=('npm')

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 {} +
}