summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Legner2015-07-29 14:08:58 +0200
committerSimon Legner2015-07-29 14:08:58 +0200
commitc0742f65a0ca6017c8a553cead633f4260f8cac9 (patch)
tree7330469016a33fea7ea63846ed5bb0ffb07447ce
downloadaur-c0742f65a0ca6017c8a553cead633f4260f8cac9.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD24
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b6a220e9b53
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = nodejs-bootlint
+ pkgdesc = HTML linter for Bootstrap projects
+ pkgver = 0.12.0
+ pkgrel = 1
+ url = https://github.com/twbs/bootlint
+ arch = any
+ license = MIT
+ depends = nodejs
+ depends = npm
+ noextract = bootlint-0.12.0.tgz
+ source = http://registry.npmjs.org/bootlint/-/bootlint-0.12.0.tgz
+ md5sums = d446527c9316f014e01c23adbb6785eb
+ sha1sums = 4d23c72b48ae2e0e50225d2dd9ed7a9a51fc17c3
+ sha256sums = b2f4a31848c2d85fcc8e86a420bff8bfccbac6e8145d67cbd23e4d927ab2328c
+
+pkgname = nodejs-bootlint
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f26bae5ed31
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+_npmname=bootlint
+_npmver=0.12.0
+pkgname=nodejs-bootlint # All lowercase
+pkgver=0.12.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)
+
+package() {
+ cd $srcdir
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p $_npmdir
+ cd $_npmdir
+ npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver
+}
+
+sha1sums=('4d23c72b48ae2e0e50225d2dd9ed7a9a51fc17c3')
+sha256sums=('b2f4a31848c2d85fcc8e86a420bff8bfccbac6e8145d67cbd23e4d927ab2328c')
+md5sums=('d446527c9316f014e01c23adbb6785eb')