games/tome: Updated for version 1.6.0.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-02-22 12:09:09 -05:00 committed by Willy Sudiarto Raharjo
parent ead19a198f
commit 31662e22ab
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 9 deletions

View file

@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220221 bkw: Modified by SlackBuilds.org: fix build on 15.0,
# by upgrading to 1.6.0 (not the latest version).
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tome
SRCNAM=t-engine4-src
VERSION=${VERSION:-1.5.10}
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# 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
@ -78,9 +78,9 @@ unzip -oj -qq game/engines/te4-${VERSION}.teae -d icons
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
-o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# correction of SDL2 headers directory
sed -i "s/opt\/SDL-2.0/usr/" premake4.lua

View file

@ -1,8 +1,8 @@
PRGNAM="tome"
VERSION="1.5.10"
VERSION="1.6.0"
HOMEPAGE="https://te4.org/"
DOWNLOAD="https://te4.org/dl/t-engine/t-engine4-src-1.5.10.tar.bz2"
MD5SUM="bd5274590190c32d51411cb05d82bd5f"
DOWNLOAD="https://te4.org/dl/t-engine/t-engine4-src-1.6.0.tar.bz2"
MD5SUM="a73a7c2f41cec91afe5dc8392b63c502"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="premake"