summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: