[arch-commits] Commit in (7 files)
Massimiliano Torromeo
mtorromeo at nymeria.archlinux.org
Sat Feb 2 18:21:46 UTC 2013
Date: Saturday, February 2, 2013 @ 19:21:46
Author: mtorromeo
Revision: 83545
Move meteorjs to [community]
Added:
meteorjs/
meteorjs/repos/
meteorjs/repos/community-i686/
meteorjs/repos/community-x86_64/
meteorjs/trunk/
meteorjs/trunk/PKGBUILD
meteorjs/trunk/meteor
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
meteor | 13 +++++++++++++
2 files changed, 61 insertions(+)
Added: meteorjs/trunk/PKGBUILD
===================================================================
--- meteorjs/trunk/PKGBUILD (rev 0)
+++ meteorjs/trunk/PKGBUILD 2013-02-02 18:21:46 UTC (rev 83545)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Parth Buch <parthbuch115 at gmail dot com>
+# Contributor: Tom Vincent <http://tlvince.com/contact/>
+
+pkgname=meteorjs
+pkgver=0.5.4
+pkgrel=1
+pkgdesc="Open-source platform for building top-quality web apps in a fraction of the time."
+arch=('i686' 'x86_64')
+url="https://github.com/meteor/meteor"
+license=('MIT')
+depends=('nodejs' 'mongodb')
+options=('!strip')
+
+sha256sums=('64dbdfd1788e3859f54bbe36e99ca60574e625c68d41b9bfc9384b253b345798'
+ 'a3ac659c52b652676da0530f2148025e0f8bfa84bccf63431c20eb72d3bc5cb7')
+
+if [ "$CARCH" == x86_64 ]; then
+ _arch="amd64"
+else
+ _arch="i386"
+ sha256sums[0]='00aef3e1d5679e51f3aea59540b9385e82ad5fc852b27da6f85ec0e979e49654'
+fi
+
+source=("http://d3sqy0vbqsdhku.cloudfront.net/meteor_$pkgver-1_$_arch.deb" meteor)
+
+package() {
+ tar xf data.tar.gz -C "$pkgdir" ./usr/lib/meteor
+
+ install -Dm644 "$pkgdir/usr/lib/meteor/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+ install -Dm755 "$srcdir/meteor" "$pkgdir/usr/bin/meteor"
+
+ cd "$pkgdir/usr/lib/meteor"
+ rm -rf LICENSE.txt lib/node lib/dtrace lib/node_modules/npm share include
+
+ # mongodb links
+ rm -rf mongodb
+ install -dm755 mongodb/bin
+ ln -s /usr/bin/mongod mongodb/bin/mongod
+ ln -s /usr/bin/mongo mongodb/bin/mongo
+
+ # node links
+ rm -rf bin
+ ln -s /usr/bin/node bin/node
+ ln -s /usr/bin/node-waf bin/node-waf
+ ln -s /usr/bin/npm bin/npm
+}
Property changes on: meteorjs/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: meteorjs/trunk/meteor
===================================================================
--- meteorjs/trunk/meteor (rev 0)
+++ meteorjs/trunk/meteor 2013-02-02 18:21:46 UTC (rev 83545)
@@ -0,0 +1,13 @@
+#!/bin/sh
+if [ "$(ulimit -n)" != "unlimited" ] ; then
+ ulimit -n 16384 > /dev/null 2>&1 || \
+ ulimit -n 8192 > /dev/null 2>&1 || \
+ ulimit -n 4096 > /dev/null 2>&1 || \
+ ulimit -n 2048 > /dev/null 2>&1 || \
+ ulimit -n 1024 > /dev/null 2>&1 || \
+ ulimit -n 512 > /dev/null 2>&1
+fi
+
+METEORDIR=/usr/lib/meteor
+export NODE_PATH=$METEORDIR/lib/node_modules
+exec /usr/bin/node $METEORDIR/app/meteor/meteor.js "$@"
More information about the arch-commits
mailing list