summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 6 insertions, 7 deletions
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: