summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD13
2 files changed, 12 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 60761d9ec37..7cb8cfa6203 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Feb 25 05:13:42 UTC 2016
pkgbase = nodejs-doctoc
pkgdesc = Generates TOC for markdown files of local git repo.
- pkgver = 0.15.0
+ pkgver = 1.0.0
pkgrel = 1
url = https://github.com/thlorenz/doctoc
arch = any
depends = nodejs
depends = npm
- noextract = doctoc-0.15.0.tgz
- source = http://registry.npmjs.org/doctoc/-/doctoc-0.15.0.tgz
- sha1sums = 0a7a48e437a0efa98728a430ada124dd95039c0b
+ noextract = doctoc-1.0.0.tgz
+ source = http://registry.npmjs.org/doctoc/-/doctoc-1.0.0.tgz
+ sha256sums = f630cbb4aeeab2b08abf4c232dd5480af22298ea03e5a0c7c13a2c6765c0a632
pkgname = nodejs-doctoc
diff --git a/PKGBUILD b/PKGBUILD
index 648a3687d7e..bedf1284a67 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,23 @@
-_npmname=doctoc
-_npmver=0.15.0
pkgname=nodejs-doctoc # All lowercase
-pkgver=0.15.0
+pkgver=1.0.0
pkgrel=1
+_npmname=doctoc
pkgdesc="Generates TOC for markdown files of local git repo."
arch=(any)
url="https://github.com/thlorenz/doctoc"
license=()
depends=('nodejs' 'npm' )
optdepends=()
-source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
-noextract=($_npmname-$_npmver.tgz)
-sha1sums=(0a7a48e437a0efa98728a430ada124dd95039c0b)
+source=(http://registry.npmjs.org/${_npmname}/-/${_npmname}-${pkgver}.tgz)
+noextract=(${_npmname}-${pkgver}.tgz)
+sha256sums=(f630cbb4aeeab2b08abf4c232dd5480af22298ea03e5a0c7c13a2c6765c0a632)
package() {
cd $srcdir
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p $_npmdir
cd $_npmdir
- npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver
+ npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
}
# vim:set ts=2 sw=2 et: