diff options
author | Jean Lucas | 2018-06-16 17:45:53 -0400 |
---|---|---|
committer | Jean Lucas | 2018-06-16 17:45:53 -0400 |
commit | 4e2619004692eb2da1bc0ea8f2a971b585b864a9 (patch) | |
tree | 4925e9b7f64673091db0a66790df4b7c6de91628 | |
download | aur-4e2619004692eb2da1bc0ea8f2a971b585b864a9.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 37 | ||||
-rw-r--r-- | meteor.install | 10 | ||||
-rw-r--r-- | meteor.sh | 8 |
4 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c0714f44abd3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Sat Jun 16 21:45:34 UTC 2018 +pkgbase = meteor + pkgdesc = Full-stack JavaScript platform for developing modern web and mobile applications + pkgver = 1.7.0.3 + pkgrel = 1 + url = https://www.meteor.com + install = meteor.install + arch = x86_64 + arch = i686 + license = MIT + depends = nodejs + depends = mongodb + conflicts = meteor-js + options = !strip + source = meteor.sh + source = meteor.install + sha512sums = 6322041c40be5740da446ee8c707cf611412aab1433a4726f08a7f8f7865224f21e59b0e0bf5d2b57871018d4eedef588fcbbab61df9a1c8ca95edbb91058275 + sha512sums = b1934622af4450c130ca11c920af6ad17dcc1a91cb30d23787c0c971c027c4e4175001f7c13801c79f8a46fafbc98f16e801608d83553a5a41b06afa57cf02bd + source_x86_64 = meteor-bootstrap-os.linux.1.7.0.3.x86_64.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.7.0.3/meteor-bootstrap-os.linux.x86_64.tar.gz + sha512sums_x86_64 = 1c90c4f418c3b0e597e70acfa639f6842644a566235db288922944d305310a0730c7359e7efe9f28034e30bfcd23a7e6304a7455cf76e7cb2a47b882d4491672 + source_i686 = meteor-bootstrap-os.linux.1.7.0.3.i686.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.7.0.3/meteor-bootstrap-os.linux.x86_32.tar.gz + sha512sums_i686 = 0a377c8fd7695f3284a75029618be342f81a971f380a6e15a1becedaf74ff1ae58f3e8f2931fcad0644ca2c250df11ae5578fb6a3a52be13e349b5c7a181484e + +pkgname = meteor + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c68784a05680 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Jean Lucas <jean@4ray.co> +# Contributor: Robert Booster <boosterdev@linuxmail.org> +# Contributor: Marco Pompili <aur@emarcs.org> +# Contributor: Paulo Alexandre <paulequilibrio at gmail dot com> +# Contributor: morning_star<themorningstar@riseup.net> +# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Contributor: Parth Buch <parthbuch115 at gmail dot com> +# Contributor: Tom Vincent <http://tlvince.com/contact/> +# Contributor: Valentin Haloiu <vially.ichb+aur@gmail.com> +# Contributor: Cluxter <contact@cluxter.email> +# Contributor: Kamil Ćliwak <cameel2 gmail> + +pkgname=meteor +pkgver=1.7.0.3 +pkgrel=1 +pkgdesc='Full-stack JavaScript platform for developing modern web and mobile applications' +arch=(x86_64 i686) +url=https://www.meteor.com +license=(MIT) +depends=(nodejs mongodb) +conflicts=(meteor-js) +options=(!strip) +install=meteor.install +source=(meteor.sh + meteor.install) +sha512sums=(6322041c40be5740da446ee8c707cf611412aab1433a4726f08a7f8f7865224f21e59b0e0bf5d2b57871018d4eedef588fcbbab61df9a1c8ca95edbb91058275 + b1934622af4450c130ca11c920af6ad17dcc1a91cb30d23787c0c971c027c4e4175001f7c13801c79f8a46fafbc98f16e801608d83553a5a41b06afa57cf02bd) +source_x86_64=(meteor-bootstrap-os.linux.$pkgver.x86_64.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/$pkgver/meteor-bootstrap-os.linux.x86_64.tar.gz) +sha512sums_x86_64=(1c90c4f418c3b0e597e70acfa639f6842644a566235db288922944d305310a0730c7359e7efe9f28034e30bfcd23a7e6304a7455cf76e7cb2a47b882d4491672) +source_i686=(meteor-bootstrap-os.linux.$pkgver.i686.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/$pkgver/meteor-bootstrap-os.linux.x86_32.tar.gz) +sha512sums_i686=(0a377c8fd7695f3284a75029618be342f81a971f380a6e15a1becedaf74ff1ae58f3e8f2931fcad0644ca2c250df11ae5578fb6a3a52be13e349b5c7a181484e) + +package() { + install -d $pkgdir/usr/share + cp -r $srcdir/.meteor $pkgdir/usr/share/meteor + install -Dm 755 $srcdir/meteor.sh $pkgdir/usr/bin/meteor +} diff --git a/meteor.install b/meteor.install new file mode 100644 index 000000000000..efc7ddd3dd1f --- /dev/null +++ b/meteor.install @@ -0,0 +1,10 @@ +post_install() { + echo "==> This package will not upgrade every user's Meteor installation when \`meteor\`" + echo "==> is run, it will only create \"~/.meteor/\" once per user, and copy the" + echo "==> contents of \"/usr/share/meteor/\" to it. To upgrade Meteor, manually delete" + echo "==> your user's \"~/.meteor/\" directory, then run \`meteor\` once again." +} + +post_upgrade() { + post_install +} diff --git a/meteor.sh b/meteor.sh new file mode 100644 index 000000000000..0e4ffb2c2e61 --- /dev/null +++ b/meteor.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ ! -d "$HOME/.meteor" ]; then + install -d "$HOME/.meteor" + cp -r /usr/share/meteor/* "$HOME/.meteor/" +fi + +"$HOME/.meteor/meteor" "$@" |