summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Lucas2019-04-08 01:56:31 -0400
committerJean Lucas2019-04-08 02:04:59 -0400
commit71623f93a7851ecfd634ea1053671eb43bac82fc (patch)
treeebe1e6a4cab7ddc6e83b21c63f4c629de7a0c1b5
parenta52ca80bb615bb8350a54230dd04da2e713686fd (diff)
downloadaur-71623f93a7851ecfd634ea1053671eb43bac82fc.tar.gz
Overhaul, version bump to 1.8.1
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD29
-rw-r--r--meteor.install5
-rw-r--r--meteor.sh8
4 files changed, 27 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eb98c0912a4..1ec44f928a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Aug 17 03:07:49 UTC 2018
+# Mon Apr 8 06:04:43 UTC 2019
pkgbase = meteor
pkgdesc = Full-stack JavaScript platform for developing modern web and mobile applications
- pkgver = 1.7.0.4
+ pkgver = 1.8.1
pkgrel = 1
url = https://www.meteor.com
install = meteor.install
@@ -12,12 +12,10 @@ pkgbase = meteor
depends = nodejs
depends = mongodb
options = !strip
- source = meteor.sh
- sha512sums = 739ff7cb9eed1b919335851f0b1b62d21655b046cdbec83a1c8fd7aae83f8044dd39caeec855c8baafc2caf68c5ab986d7d96a98732adeaa90fdffa118a4b393
- source_i686 = meteor-bootstrap-os.linux.1.7.0.4.i686.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.7.0.4/meteor-bootstrap-os.linux.x86_32.tar.gz
- sha512sums_i686 = 7f1e9551004919975090d895cbf1fbce7030199dbde3853d64d921a62fbfeb21b8a848ae774e5f55b9b47d6b25428d1cb9b015a1d230161b95e420cb013c45e3
- source_x86_64 = meteor-bootstrap-os.linux.1.7.0.4.x86_64.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.7.0.4/meteor-bootstrap-os.linux.x86_64.tar.gz
- sha512sums_x86_64 = 589b09e03d96164192dc7f4517b301fa8eec490446f03611422f72e0cfd865d1213d2df105ee1aaff8133201dc21dd8c80ded3a5ad3d0965d8e68f9031d60b34
+ source_i686 = meteor-1.8.1-i686.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.8.1/meteor-bootstrap-os.linux.x86_32.tar.gz
+ sha512sums_i686 = e7b7f814e94b247afcb7cabdaec6a3f830fc3a421e056a0ce2118871e027f3fc2325000bf303a20c79ead47160a96b111a7708d508f9e9a72ac8d8930092c42a
+ source_x86_64 = meteor-1.8.1-x86_64.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.8.1/meteor-bootstrap-os.linux.x86_64.tar.gz
+ sha512sums_x86_64 = c92d1e529741a7b8c6dccb2db50096d05546e15d80294e2cc42ae7596d54d4813415a660c3a64c741f58dadd6387bc9aa7448fc6afee5e2c81e0dd4c31bb55e1
pkgname = meteor
diff --git a/PKGBUILD b/PKGBUILD
index e32115747b4..d399f1c3ab4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@
# Contributor: Kamil ƚliwak <cameel2 gmail>
pkgname=meteor
-pkgver=1.7.0.4
+pkgver=1.8.1
pkgrel=1
pkgdesc='Full-stack JavaScript platform for developing modern web and mobile applications'
arch=(i686 x86_64)
@@ -20,15 +20,26 @@ license=(MIT)
depends=(nodejs mongodb)
options=(!strip)
install=meteor.install
-source=(meteor.sh)
-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)
-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=('739ff7cb9eed1b919335851f0b1b62d21655b046cdbec83a1c8fd7aae83f8044dd39caeec855c8baafc2caf68c5ab986d7d96a98732adeaa90fdffa118a4b393')
-sha512sums_i686=('7f1e9551004919975090d895cbf1fbce7030199dbde3853d64d921a62fbfeb21b8a848ae774e5f55b9b47d6b25428d1cb9b015a1d230161b95e420cb013c45e3')
-sha512sums_x86_64=('589b09e03d96164192dc7f4517b301fa8eec490446f03611422f72e0cfd865d1213d2df105ee1aaff8133201dc21dd8c80ded3a5ad3d0965d8e68f9031d60b34')
+source_i686=(meteor-$pkgver-i686.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/$pkgver/meteor-bootstrap-os.linux.x86_32.tar.gz)
+source_x86_64=(meteor-$pkgver-x86_64.tar.gz::https://meteorinstall-4168.kxcdn.com/packages-bootstrap/$pkgver/meteor-bootstrap-os.linux.x86_64.tar.gz)
+sha512sums_i686=('e7b7f814e94b247afcb7cabdaec6a3f830fc3a421e056a0ce2118871e027f3fc2325000bf303a20c79ead47160a96b111a7708d508f9e9a72ac8d8930092c42a')
+sha512sums_x86_64=('c92d1e529741a7b8c6dccb2db50096d05546e15d80294e2cc42ae7596d54d4813415a660c3a64c741f58dadd6387bc9aa7448fc6afee5e2c81e0dd4c31bb55e1')
package() {
- install -d "$pkgdir"/usr/share
+ install -d "$pkgdir"/usr/{share,bin}
+
+ # Copy base Meteor tree to universally-accessible location
cp -a .meteor "$pkgdir"/usr/share/meteor
- install -D meteor.sh "$pkgdir"/usr/bin/meteor
+
+ # Create our executable
+ cat > "$pkgdir"/usr/bin/meteor << EOF
+#!/bin/sh
+
+if [ ! -d "\$HOME"/.meteor ]; then
+ mkdir "\$HOME"/.meteor
+ cp -r /usr/share/meteor/* "\$HOME"/.meteor
+fi
+
+"\$HOME"/.meteor/meteor "\$@"
+EOF
}
diff --git a/meteor.install b/meteor.install
index efc7ddd3dd1..aa710ac5f7c 100644
--- a/meteor.install
+++ b/meteor.install
@@ -1,8 +1,5 @@
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."
+ echo "Meteor is not meant to be upgraded via the binary download, since a Meteor tree needs to be owned by a regular user. First run of \`meteor\` per user will copy the binary tree to ~/.meteor. Subsequent use will run Meteor from your tree. On Arch package version increment - to upgrade your tree, either delete it and run \`meteor\` to copy the new tree over, or manually sync the changes from /usr/share/meteor over to it (e.g. using \`rsync -rl --delete /usr/share/meteor/ ~/.meteor\`)."
}
post_upgrade() {
diff --git a/meteor.sh b/meteor.sh
deleted file mode 100644
index 83d01dc8b60..00000000000
--- a/meteor.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-if [ ! -d "$HOME"/.meteor ]; then
- mkdir "$HOME"/.meteor
- cp -r /usr/share/meteor/* "$HOME"/.meteor
-fi
-
-"$HOME"/.meteor/meteor "$@"