diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-22 21:44:15 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-22 21:46:47 +0200 |
commit | e7c32345cae04b17ffea4750b29b8e0ad998a78c (patch) | |
tree | da73dcd432233861807af84b8b5d767f0789d4f4 /PKGBUILD | |
download | nodejs-git-stats-html-e7c32345cae04b17ffea4750b29b8e0ad998a78c.tar.xz nodejs-git-stats-html-e7c32345cae04b17ffea4750b29b8e0ad998a78c.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..23b8b44 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: neodarz <neodarz@neodarz.net> + +_npmname=git-stats-html +pkgname=nodejs-git-stats-html +pkgver=1.0.6 +pkgrel=1 +pkgdesc="Turn git-stats result into HTML output. " +arch=('any') +url="https://github.com/IonicaBizau/git-stats-html" +depends=('npm') +depends=('nodejs') +license=('MIT') +source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz) +noextract=($_npmname-$pkgver.tgz) +package() { + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p $_npmdir + cd $_npmdir + npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver +} +sha256sums=('aa8b2245b2151481d02ba06586dec01ce5cb09c9e1b708e41f33121a417e5b46') +# vim:set ts=2 sw=2 et: |