summaryrefslogtreecommitdiffstats
path: root/games/empire
diff options
context:
space:
mode:
Diffstat (limited to 'games/empire')
-rw-r--r--games/empire/empire.SlackBuild20
-rw-r--r--games/empire/empire.info6
-rw-r--r--games/empire/slack-desc2
3 files changed, 19 insertions, 9 deletions
diff --git a/games/empire/empire.SlackBuild b/games/empire/empire.SlackBuild
index c8913292bc..0a398650f3 100644
--- a/games/empire/empire.SlackBuild
+++ b/games/empire/empire.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Empire
-# Copyright 2016 Roman Kodinets <rkodinets@gmail.com>
+# Copyright 2016-2021 Roman Kodinets <rkodinets@gmail.com>
# 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=empire
-VERSION=${VERSION:-4.4.0}
+VERSION=${VERSION:-4.4.1}
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}
@@ -114,4 +124,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/empire/empire.info b/games/empire/empire.info
index d4c5385230..77d76d9724 100644
--- a/games/empire/empire.info
+++ b/games/empire/empire.info
@@ -1,8 +1,8 @@
PRGNAM="empire"
-VERSION="4.4.0"
+VERSION="4.4.1"
HOMEPAGE="http://wolfpackempire.com"
-DOWNLOAD="http://downloads.sourceforge.net/project/empserver/empire-4.4.0/empire-4.4.0.tar.gz"
-MD5SUM="748c5e769f5cc304d4319a0a792f059b"
+DOWNLOAD="https://downloads.sourceforge.net/project/empserver/empire-4.4.1/empire-4.4.1.tar.gz"
+MD5SUM="2541ba06c25124bf92828fe826a20ff5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/empire/slack-desc b/games/empire/slack-desc
index 055e257455..d4f42913f3 100644
--- a/games/empire/slack-desc
+++ b/games/empire/slack-desc
@@ -9,7 +9,7 @@
empire: empire (strategy game)
empire:
empire: Empire is a multi-player, client/server Internet based war game.
-empire: Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
+empire: Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
empire: Ken Stevens, Steve McClure, Markus Armbruster
empire:
empire: Homepage: http://wolfpackempire.com