summaryrefslogtreecommitdiff
path: root/games/gemrb/gemrb.SlackBuild
diff options
context:
space:
mode:
authorkhronosschoty <khronosschoty@posteo.org>2018-04-22 14:13:49 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-28 06:40:09 +0700
commitf6da4ff57753bebcbf1c098f8b599cbda192e6a2 (patch)
tree6fa5e042a5f93d4c40239c11d28e7b1ee812e796 /games/gemrb/gemrb.SlackBuild
parent53c2e49f0797c264168b6e2e7a4f4128561b1203 (diff)
downloadslackbuilds-f6da4ff57753bebcbf1c098f8b599cbda192e6a2.tar.gz
games/gemrb: Add config example to docs, switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/gemrb/gemrb.SlackBuild')
-rw-r--r--games/gemrb/gemrb.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/gemrb/gemrb.SlackBuild b/games/gemrb/gemrb.SlackBuild
index fd55eb78da..6fd2722144 100644
--- a/games/gemrb/gemrb.SlackBuild
+++ b/games/gemrb/gemrb.SlackBuild
@@ -30,7 +30,7 @@ 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
@@ -41,8 +41,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"
@@ -91,7 +91,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README gemrb/GemRB.cfg.* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install