summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Legner2019-11-13 21:54:14 +0100
committerSimon Legner2019-11-13 21:54:14 +0100
commitf1fead9f657c4eb2fd635a08a92465bdab7944df (patch)
treec60eaf1c945d5d3544ab874aeefcbee64d2ad27e
parenta3c70c6bb6cd7c94c6ddc46d75292fa970e10fb2 (diff)
downloadaur-nodejs-bootlint.tar.gz
upgpkg: nodejs-bootlint 1.0.0-1
upstream release
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72a00431627..38873e8f080 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = nodejs-bootlint
pkgdesc = HTML linter for Bootstrap projects
- pkgver = 0.16.8
+ pkgver = 1.0.0
pkgrel = 1
url = https://github.com/twbs/bootlint
arch = any
license = MIT
depends = nodejs
depends = npm
- noextract = bootlint-0.16.6.tgz
- source = http://registry.npmjs.org/bootlint/-/bootlint-0.16.6.tgz
- sha256sums = 552ec1826d059263429b3828d8cb73b8685cf626ebefaa525008e462a254c27e
+ noextract = bootlint-1.0.0.tgz
+ source = http://registry.npmjs.org/bootlint/-/bootlint-1.0.0.tgz
+ sha256sums = 330d0399bada9c87195989c9dde032d7a2d1110eeebb6f6efb3ed564b8b0d5da
pkgname = nodejs-bootlint
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')