summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-22 21:44:15 +0200
committerneodarz <neodarz@neodarz.net>2018-08-22 21:46:47 +0200
commite7c32345cae04b17ffea4750b29b8e0ad998a78c (patch)
treeda73dcd432233861807af84b8b5d767f0789d4f4
downloadnodejs-git-stats-html-e7c32345cae04b17ffea4750b29b8e0ad998a78c.tar.xz
nodejs-git-stats-html-e7c32345cae04b17ffea4750b29b8e0ad998a78c.zip
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..30e809b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = nodejs-git-stats-html
+ pkgdesc = Turn git-stats result into HTML output.
+ pkgver = 1.0.6
+ pkgrel = 1
+ url = https://github.com/IonicaBizau/git-stats-html
+ arch = any
+ license = MIT
+ depends = nodejs
+ noextract = git-stats-html-1.0.6.tgz
+ source = http://registry.npmjs.org/git-stats-html/-/git-stats-html-1.0.6.tgz
+ sha256sums = aa8b2245b2151481d02ba06586dec01ce5cb09c9e1b708e41f33121a417e5b46
+
+pkgname = nodejs-git-stats-html
+
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: