summaryrefslogtreecommitdiffstats
path: root/games/minetest
diff options
context:
space:
mode:
Diffstat (limited to 'games/minetest')
-rw-r--r--games/minetest/README8
-rw-r--r--games/minetest/minetest.SlackBuild20
-rw-r--r--games/minetest/minetest.info10
3 files changed, 24 insertions, 14 deletions
diff --git a/games/minetest/README b/games/minetest/README
index 79fd198e96..a752b244e6 100644
--- a/games/minetest/README
+++ b/games/minetest/README
@@ -1,5 +1,5 @@
Minetest is an infinite-world block sandbox game and a game engine,
-inspired by InfiniMiner, Minecraft and the like. It has been in development
-and use since October 2010.
-It is Free and Open Source Software, released under the LGPL 2.1 or later,
-available for Windows, Mac OS X and Linux.
+inspired by InfiniMiner, Minecraft and the like. It has been in
+development and use since October 2010. It is Free and Open Source
+Software, released under the LGPL 2.1 or later, available for Windows,
+Mac OS X and Linux.
diff --git a/games/minetest/minetest.SlackBuild b/games/minetest/minetest.SlackBuild
index 3ef28e8a22..cbccd8ebd2 100644
--- a/games/minetest/minetest.SlackBuild
+++ b/games/minetest/minetest.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for minetest
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=minetest
-VERSION=${VERSION:-5.0.1}
+VERSION=${VERSION:-5.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,4 +111,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/minetest/minetest.info b/games/minetest/minetest.info
index 39fab68750..2278eebd83 100644
--- a/games/minetest/minetest.info
+++ b/games/minetest/minetest.info
@@ -1,10 +1,10 @@
PRGNAM="minetest"
-VERSION="5.0.1"
+VERSION="5.8.0"
HOMEPAGE="http://minetest.net/"
-DOWNLOAD="https://github.com/minetest/minetest/archive/5.0.1/minetest-5.0.1.tar.gz"
-MD5SUM="626a8603bbb772282c807f9203e75382"
+DOWNLOAD="https://github.com/minetest/minetest/archive/5.8.0/minetest-5.8.0.tar.gz"
+MD5SUM="5b244229a9847385e7dc66610ff73f0f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenAL irrlicht luajit jsoncpp"
+REQUIRES="irrlichtmt"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"