summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2017-04-09 12:42:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-09 12:42:00 +0700
commitf1222b411a1f216226c557e5bb58eb0af3faf064 (patch)
tree844d2354af66cc012210facd821810d433e4f784 /development
parent6e118364df72ef162554a75c6432b7de1b9fcb86 (diff)
downloadslackbuilds-f1222b411a1f216226c557e5bb58eb0af3faf064.tar.gz
development/flow: Updated for version 0.43.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/flow/flow.SlackBuild21
-rw-r--r--development/flow/flow.info6
2 files changed, 17 insertions, 10 deletions
diff --git a/development/flow/flow.SlackBuild b/development/flow/flow.SlackBuild
index e350546e04..512561ff51 100644
--- a/development/flow/flow.SlackBuild
+++ b/development/flow/flow.SlackBuild
@@ -24,16 +24,15 @@
# <https://www.gnu.org/licenses/>.
PRGNAM=flow
-VERSION=${VERSION:-0.43.0}
+VERSION=${VERSION:-0.43.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ARCH=${ARCH:-$(uname -m)}
-if [ "$ARCH" = x86_64 ]; then
- SLKCFLAGS="-O2 -fPIC"
-else
- echo "$(uname -m) architecture is not supported."
- exit 1
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ x86_64) ARCH=x86_64 ;;
+ *) echo "The package for $(uname -m) architecture is not available."; exit 1;;
+ esac
fi
CWD=$(pwd)
@@ -43,6 +42,14 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="Changelog.md CONTRIBUTING.md LICENSE PATENTS README.md examples"
+if [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ echo "The package for $(uname -m) architecture is not available.";
+ exit 1
+fi
+
set -e
rm -rf $PKG
diff --git a/development/flow/flow.info b/development/flow/flow.info
index 16d6877884..8b7ed4b732 100644
--- a/development/flow/flow.info
+++ b/development/flow/flow.info
@@ -1,10 +1,10 @@
PRGNAM="flow"
-VERSION="0.43.0"
+VERSION="0.43.1"
HOMEPAGE="http://flowtype.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/facebook/flow/archive/v0.43.0/flow-0.43.0.tar.gz"
-MD5SUM_x86_64="236d98c54f4a6d571c54d2729a81edb2"
+DOWNLOAD_x86_64="https://github.com/facebook/flow/archive/v0.43.1/flow-0.43.1.tar.gz"
+MD5SUM_x86_64="9af68ac96b29a30b5c3fe88d96b5a97d"
REQUIRES="ocamlbuild"
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"