development/flow: Updated for version 0.43.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
DhabyX 2017-04-09 12:42:00 +07:00 committed by Willy Sudiarto Raharjo
parent 6e118364df
commit f1222b411a
2 changed files with 17 additions and 10 deletions

View file

@ -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

View file

@ -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"