summaryrefslogtreecommitdiff
path: root/~emulatorman
diff options
context:
space:
mode:
Diffstat (limited to '~emulatorman')
-rw-r--r--~emulatorman/nodejs-grunt-cli/PKGBUILD25
-rw-r--r--~emulatorman/nodejs-grunt-cli/nodejs-grunt-cli.install63
-rw-r--r--~emulatorman/nodejs-grunt/PKGBUILD30
3 files changed, 118 insertions, 0 deletions
diff --git a/~emulatorman/nodejs-grunt-cli/PKGBUILD b/~emulatorman/nodejs-grunt-cli/PKGBUILD
new file mode 100644
index 000000000..e18327bfc
--- /dev/null
+++ b/~emulatorman/nodejs-grunt-cli/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Mario Finelli <mtfinelli at gmail dot com>
+# Contributor: Andy Weidenbaum <archbaum at gmail dot com>
+# Contributor: Peter Wu <lekensteyn at gmail dot com>
+
+_npmname=grunt-cli
+pkgname=nodejs-$_npmname
+pkgver=0.1.13
+pkgrel=2
+pkgdesc="The grunt command line interface"
+arch=('any')
+url="http://gruntjs.com/"
+license=('MIT')
+depends=('nodejs')
+install=nodejs-grunt-cli.install
+source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+md5sums=('fe47325c8b6f48d752c33c9ea57d9217')
+
+package() {
+ cd "$srcdir"
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p "$_npmdir"
+ cd "$_npmdir"
+ npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+} \ No newline at end of file
diff --git a/~emulatorman/nodejs-grunt-cli/nodejs-grunt-cli.install b/~emulatorman/nodejs-grunt-cli/nodejs-grunt-cli.install
new file mode 100644
index 000000000..0dbae687b
--- /dev/null
+++ b/~emulatorman/nodejs-grunt-cli/nodejs-grunt-cli.install
@@ -0,0 +1,63 @@
+post_install() {
+ printf "$grunt\n"
+ echo "************************************************************************"
+ echo "*"
+ echo "* Starting with grunt v0.4, you should never install grunt itself"
+ echo "* globally. For more information about why, please read this:"
+ echo "* http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation"
+ echo "*"
+ echo "************************************************************************"
+}
+
+post_upgrade() {
+ printf "$grunt\n"
+}
+
+read -d '' grunt <<"EOF"
+########################################################################
+########################################################################
+## ##
+## ##
+## cc ##
+## .,;;,. :, :OKc .. .',;;'. ##
+## ;x0OdoooxOx: .OKkoKKKOlO0. .lOkdooox00o. ##
+## .';d00xxdcck0c.dKKKKKKKKKKk .d0d:lxxk0Ol,.. ##
+## :Kl:o0xlOK0OkxdooooddxkOKKkoOOc:k0. ##
+## .lKkclO0kdc,,,,,,,,,,,,,,;lxOKxcl00,. ##
+## .xOddddxO0koc;,,,,,,,,,,,,,,,:ld00kxdddxOc ##
+## cKc,,,,,,;cokxc,,,,,,,,,,,,,okxl:,,,,,,,d0. ##
+## .xOl,,,,,,,,,:ol;,,,,,,,,,:ol;,,,,,,,,:d0: ##
+## OO,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,oKl ##
+## OO;;dOkxdl:;,,,,;loooc,,,,,;:oxkkkc,oKl ##
+## .lKd,,kOK,;x0xc,,,,,,;,,,,,;ok0l'oKOo,:OO; ##
+## ;0kd:,,;oK; .o0xl::,,,,;:coOO: d0c;,,ldOO. ##
+## oKo:;,,,,lxdlclx00xl,,,,;dkKOdcclxx:,,,,;:kK, ##
+## o0xo:;;,,;;:cc:xl,,,,,,,,,kl:cc:;,,;;;cdOO; ##
+## ,lkko:;,,,,;;:,,,,,,,,,,;:;,,,,,:cxOxc. ##
+## ,0x:;,,,,,,,,,,,,,,,,,,,,,,,;cOx. ##
+## xO::,,,,,,,,,,,,,,,,,,,,,,;:lK, ##
+## . xO::,,,,;l,,,,,,,,,,;o,,,,;:lK, . ##
+## :0; kO:;,,,;k:,,,,,,,,,,,do,,,,:lK: xO. ##
+## ,KoOc.0k:,,,;xd,,,,,,,,,,,,;Ol;,,;c0l.xxdk ##
+## l0..o0Kkl:;:dO;,,,,,,,,,,,,,o0l:;:o00O: :K. ##
+## :K; .;lod0KdcccccccccccccccO0Odoc,. .o0 ##
+## kk'. dOdoooooooooooooooodxO; ..:0: ##
+## lOo:'..lK:;dxxxxl,,,,;dxxxxl,dK'..,cxk; ##
+## ,l0OkOKx,o0KKO:,,,,,o0KKO:;O0kk0kc. ##
+## .kOll0d;:cc;,,,,,,,:lc;:kkcd0o ##
+## ;xkOKkl:;;;,,,,;;;;:d00kOo. ##
+## ':ckOxolcccclldk0oc;. ##
+## .':clooolc;. ##
+## ##
+## .;lddddl;. ldddool:. ldd, cdd, lol. .dd; ,dddddddddo ##
+## .dKKOoccok0; kKKx:ckKKl kKK: xKKc kKK0l ,KKo 'ccl0KKdccc ##
+## xKKx kKKl cKKx kKK: xKKc kKK0KO, ,KKo 0KK; ##
+## 0KK: .xxxxo kKK0kOK0l. kKK: xKKc kKK,o0KxlKKo 0KK; ##
+## lKKO. ,cKKk kKKo,OKKo dKKx .OKK; kKK. .kKKKKo 0KK; ##
+## ;xKKkddkKKx kKKl dKKk. l0K0kk0KO: kKK. ;OKKo 0KK; ##
+## 'oO00Od, dOO: oOOx .lO00kc dOk. .xOc kOO, ##
+## ##
+## ##
+########################################################################
+########################################################################
+EOF
diff --git a/~emulatorman/nodejs-grunt/PKGBUILD b/~emulatorman/nodejs-grunt/PKGBUILD
new file mode 100644
index 000000000..fea5c6ae2
--- /dev/null
+++ b/~emulatorman/nodejs-grunt/PKGBUILD
@@ -0,0 +1,30 @@
+# Author: "Cowboy" Ben Alman (http://benalman.com/)
+# Contributor: "Cowboy" Ben Alman (http://benalman.com/)
+# Contributor: Kyle Robinson Young (http://dontkry.com/)
+# Contributor: Tyler Kellen (http://goingslowly.com)
+# Contributor: Sindre Sorhus (http://sindresorhus.com)
+# Contributor: cowboy <cowboy@rj3.net>
+# Contributor: tkellen <tyler@sleekcode.net>
+# Maintainer: cracoucass14 (http://twitter.com/cracoucass14)
+
+_npmname=grunt
+pkgname=nodejs-grunt # All lowercase
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="The JavaScript Task Runner"
+arch=(any)
+url="http://gruntjs.com/"
+license=(MIT)
+depends=('nodejs')
+optdepends=()
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+sha1sums=(895b4f28a6102bffd41d365a65e8be2d6a293d93)
+
+package() {
+ cd $srcdir
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p $_npmdir
+ cd $_npmdir
+ npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+}