blob: 2abffc27329696e7fbd0197c0bdbdf0ededed2ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Ivan Fonseca <ivanfon@riseup.net>
# PKGBUILD generated by https://github.com/IvanFon/pkgbuilds
# Template from https://wiki.archlinux.org/index.php/Node.js_package_guidelines
# NPM package name
_npmname=uniread
pkgname=uniread
pkgver=0.0.28
pkgrel=1
pkgdesc="Uniread is Spritz like CLI fast reading software."
arch=(any)
url="https://github.com/nemanjan00/uniread"
license=(MIT)
depends=('nodejs')
makedepends=('npm')
optdepends=()
source=("https://github.com/nemanjan00/uniread/archive/v${pkgver}.tar.gz")
noextract=(master.tar.gz)
sha256sums=('a7184f655cc826364e7762b04a7dc7522071a998500f13b8c5ab025bce80111f')
package() {
npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/v$pkgver.tar.gz
# 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 {} +
}
# vim:set ts=2 sw=2 et:
|