summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2018-03-06 02:02:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-06 02:02:32 +0700
commitcda24f77429c3fabd84c53c264640edec03cf334 (patch)
tree1f6d1deae46b3e1301f0f531509783ce659a58e1 /libraries
parentd762986a2cf05ac19f5e51a9620a4056242716d7 (diff)
downloadslackbuilds-cda24f77429c3fabd84c53c264640edec03cf334.tar.gz
libraries/libeot: Minor cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libeot/libeot.SlackBuild14
-rw-r--r--libraries/libeot/libeot.info2
2 files changed, 8 insertions, 8 deletions
diff --git a/libraries/libeot/libeot.SlackBuild b/libraries/libeot/libeot.SlackBuild
index 15fed26b7a..931651a657 100644
--- a/libraries/libeot/libeot.SlackBuild
+++ b/libraries/libeot/libeot.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libeot
-# Copyright 2015 Hunter Sezen California, USA
+# Copyright 2015, 2018 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +24,12 @@
PRGNAM=libeot
VERSION=${VERSION:-0.01}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -54,13 +54,13 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/libraries/libeot/libeot.info b/libraries/libeot/libeot.info
index ce123a5922..f6e8a90117 100644
--- a/libraries/libeot/libeot.info
+++ b/libraries/libeot/libeot.info
@@ -1,7 +1,7 @@
PRGNAM="libeot"
VERSION="0.01"
HOMEPAGE="https://github.com/umanwizard/libeot"
-DOWNLOAD="https://github.com/umanwizard/libeot/archive/v0.01.tar.gz"
+DOWNLOAD="https://github.com/umanwizard/libeot/archive/v0.01/libeot-0.01.tar.gz"
MD5SUM="891ec10e22c090a09420dbbb5efacfd3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""