diff options
author | DhabyX <slack.dhabyx@gmail.com> | 2017-04-09 12:42:00 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-09 12:42:00 +0700 |
commit | f1222b411a1f216226c557e5bb58eb0af3faf064 (patch) | |
tree | 844d2354af66cc012210facd821810d433e4f784 /development/flow/flow.SlackBuild | |
parent | 6e118364df72ef162554a75c6432b7de1b9fcb86 (diff) |
development/flow: Updated for version 0.43.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/flow/flow.SlackBuild')
-rw-r--r-- | development/flow/flow.SlackBuild | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/development/flow/flow.SlackBuild b/development/flow/flow.SlackBuild index e350546e04e69..512561ff510fb 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 |