summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore9
-rw-r--r--LICENSE8
-rw-r--r--PKGBUILD25
4 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..99efa8bc8ae
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Thu Feb 16 13:33:32 UTC 2017
+pkgbase = nodejs-bower-installer
+ pkgdesc = Tool for installing bower dependencies
+ pkgver = 1.3.5
+ pkgrel = 1
+ url = https://github.com/rquadling/bower-installer
+ arch = any
+ license = MIT
+ makedepends = npm
+ depends = nodejs
+ noextract = bower-installer-1.3.5.tgz
+ source = http://registry.npmjs.org/bower-installer/-/bower-installer-1.3.5.tgz
+ source = LICENSE
+ md5sums = 944c81731d80b5ca1ae3e8c32da86c3f
+ md5sums = e0297df41706200a86b9d38b6b5a5904
+
+pkgname = nodejs-bower-installer
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f2913fb1eb5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+# packaging artefacts
+src/
+pkg/
+*.pkg.tar.xz
+*.src.tar.gz
+
+# source archives
+*.tgz
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000000..36fba7e4dba
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,8 @@
+This project is licensed under the MIT license.
+Copyright Bret Little 2013
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1f231633e7e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Micha Alt <micha.tucker@gmail.com>
+
+_npmname=bower-installer
+pkgname=nodejs-$_npmname
+pkgver=1.3.5
+pkgrel=1
+pkgdesc='Tool for installing bower dependencies'
+arch=('any')
+url='https://github.com/rquadling/bower-installer'
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz
+ LICENSE)
+noextract=($_npmname-$pkgver.tgz)
+md5sums=('944c81731d80b5ca1ae3e8c32da86c3f'
+ 'e0297df41706200a86b9d38b6b5a5904')
+
+package() {
+ npm install -g --user root --prefix "$pkgdir"/usr $_npmname@$pkgver
+ rm -r "$pkgdir"/usr/etc
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}
+