aboutsummaryrefslogtreecommitdiff
path: root/development/lazarus/lazarus.SlackBuild
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2016-12-29 10:37:45 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-30 23:30:11 +0000
commit6a49973171dd9d61eb0c5cbeceb62f9c36072235 (patch)
treea8985842a54a59590e3776789fe36627b2608a76 /development/lazarus/lazarus.SlackBuild
parent845db76951fc14141d72609a87f29951d1d2b4ec (diff)
development/lazarus: Updated for version 1.6.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/lazarus/lazarus.SlackBuild')
-rw-r--r--development/lazarus/lazarus.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/development/lazarus/lazarus.SlackBuild b/development/lazarus/lazarus.SlackBuild
index bc22075d0016b..a3be723db5313 100644
--- a/development/lazarus/lazarus.SlackBuild
+++ b/development/lazarus/lazarus.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lazarus
-VERSION=${VERSION:-1.6.0}
+VERSION=${VERSION:-1.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,13 +35,14 @@ OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i386 ;;
+ i?86) ARCH=i586 ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-if ! [[ "$ARCH" = "x86_64" || "$ARCH" = "i386" ]]; then
- printf "\nThis won't build on $ARCH.\n\n";exit 1
+if [ "$ARCH" != "x86_64" ] && [ "$ARCH" != "i586" ] && [ "$ARCH" != "i686" ]; then
+ printf "\nThis won't build on $ARCH.\n\n"
+ exit 1
fi
set -e