aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
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 e350546e04e6..512561ff510f 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 16d687788400..8b7ed4b732cf 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"