From e7c32345cae04b17ffea4750b29b8e0ad998a78c Mon Sep 17 00:00:00 2001 From: neodarz Date: Wed, 22 Aug 2018 21:44:15 +0200 Subject: Initial commit --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 22 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD 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 + +_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: -- cgit v1.2.1