summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ce9c22518b1..fe3c13d416f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,23 @@
_npmname=bootlint
-_npmver=0.16.6
pkgname=nodejs-bootlint
-pkgver=0.16.8
+pkgver=1.0.0
pkgrel=1
pkgdesc="HTML linter for Bootstrap projects"
arch=(any)
url="https://github.com/twbs/bootlint"
license=(MIT)
depends=('nodejs' 'npm' )
-source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
-noextract=($_npmname-$_npmver.tgz)
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
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
find "${pkgdir}"/usr -name package.json -exec sed -i '/"_where"/d' '{}' '+'
find "${pkgdir}"/usr -type d -exec chmod 755 {} +
}
-sha256sums=('552ec1826d059263429b3828d8cb73b8685cf626ebefaa525008e462a254c27e')
+sha256sums=('330d0399bada9c87195989c9dde032d7a2d1110eeebb6f6efb3ed564b8b0d5da')