aboutsummaryrefslogtreecommitdiff
path: root/games/opensurge
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-20 07:21:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-24 20:45:25 +0700
commit830897bb74f99182033cf21f82f40bc54eca9c35 (patch)
treeb1af97cf3af71fb18b998e4530e9c13d038574fd /games/opensurge
parent3eb04e892f0c0e9b469913a50ed700d54672401d (diff)
games/opensurge: Updated for version 0.6.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/opensurge')
-rw-r--r--games/opensurge/opensurge.SlackBuild16
-rw-r--r--games/opensurge/opensurge.info6
2 files changed, 8 insertions, 14 deletions
diff --git a/games/opensurge/opensurge.SlackBuild b/games/opensurge/opensurge.SlackBuild
index fbf5ba19b94bb..2495f6b116fb2 100644
--- a/games/opensurge/opensurge.SlackBuild
+++ b/games/opensurge/opensurge.SlackBuild
@@ -25,9 +25,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=opensurge
-VERSION=${VERSION:-0.6.0.3}
+VERSION=${VERSION:-0.6.1.1}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
@@ -45,20 +45,16 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -84,16 +80,14 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE *.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/opensurge/opensurge.info b/games/opensurge/opensurge.info
index bac64c9556d08..a20aef6aed476 100644
--- a/games/opensurge/opensurge.info
+++ b/games/opensurge/opensurge.info
@@ -1,8 +1,8 @@
PRGNAM="opensurge"
-VERSION="0.6.0.3"
+VERSION="0.6.1.1"
HOMEPAGE="https://opensurge2d.org"
-DOWNLOAD="https://github.com/alemart/opensurge/archive/v0.6.0.3/opensurge-0.6.0.3.tar.gz"
-MD5SUM="fca821fab0fae154a3d77267b4f1d16c"
+DOWNLOAD="https://github.com/alemart/opensurge/archive/v0.6.1.1/opensurge-0.6.1.1.tar.gz"
+MD5SUM="55709322a3785caceb75a64443687f59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="allegro surgescript"