games/pasang-emas: Updated for version 5.2.0

Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
This commit is contained in:
Larry Hajali 2018-11-06 12:34:32 -08:00 committed by Willy Sudiarto Raharjo
parent b56e0a26eb
commit 2cbb085570
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 14 additions and 14 deletions

View file

@ -1,4 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

View file

@ -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

View file

@ -1,11 +1,11 @@
PRGNAM="pasang-emas"
VERSION="5.0.0"
VERSION="5.2.0"
HOMEPAGE="http://pasang-emas.sourceforge.net/index.xhtml"
DOWNLOAD="http://downloads.sourceforge.net/pasang-emas/pasang-emas-5.0.0.tar.bz2 \
http://downloads.sourceforge.net/pasang-emas/pasang-emas-themes-1.0.tar.bz2 \
http://downloads.sourceforge.net/pasang-emas/pet-marble.tar.bz2 \
http://downloads.sourceforge.net/pasang-emas/pet-fragrance.tar.bz2"
MD5SUM="a6ca6d809fdbab06661495b7b9bec4b3 \
DOWNLOAD="https://downloads.sourceforge.net/pasang-emas/pasang-emas-5.2.0.tar.xz \
https://downloads.sourceforge.net/pasang-emas/pasang-emas-themes-1.0.tar.bz2 \
https://downloads.sourceforge.net/pasang-emas/pet-marble.tar.bz2 \
https://downloads.sourceforge.net/pasang-emas/pet-fragrance.tar.bz2"
MD5SUM="04648454a3b73366feb838e9e13c2986 \
b0cc4af9ec0f3b0a7b74ecfc13ce9399 \
925f78cc8fb25f3bb8ca5f5ba9d3ae64 \
4710b67c37f85e7d542ad8a02755471b"