summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2016-02-25 14:13:45 +0900
committerBenjamin Chr├ętien2016-02-25 14:13:45 +0900
commitc069cc1c4699321da8597b2a0d46727e25bf0e9a (patch)
treec8be0f5e45f20d9d1913892ba14be531241dd192 /PKGBUILD
parent0bbc7e5bccc8d08f40f149039ab710c4172e4301 (diff)
downloadaur-c069cc1c4699321da8597b2a0d46727e25bf0e9a.tar.gz
Update to version 1.0.0 (pkgrel 1)
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: