summaryrefslogtreecommitdiff
path: root/games/pasang-emas/pasang-emas.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/pasang-emas/pasang-emas.SlackBuild')
-rw-r--r--games/pasang-emas/pasang-emas.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/games/pasang-emas/pasang-emas.SlackBuild b/games/pasang-emas/pasang-emas.SlackBuild
index c9ee372988..aa7aa56887 100644
--- a/games/pasang-emas/pasang-emas.SlackBuild
+++ b/games/pasang-emas/pasang-emas.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pasang-emas
-# Copyright 2009-2016 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2009-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pasang-emas
-VERSION=${VERSION:-5.0.0}
+VERSION=${VERSION:-5.2.0}
BUILD=${BUILD:-1}
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"
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-themes-1.0.tar.bz2
tar xvf $CWD/pet-marble.tar.bz2
@@ -82,7 +82,8 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--with-help-dir=/usr/share/gnome/help \
- --disable-scrollkeeper \
+ --disable-silent-rules \
+ --disable-rpath \
--build=$ARCH-slackware-linux
make