aboutsummaryrefslogtreecommitdiff
path: root/games/freeciv/freeciv.SlackBuild
diff options
context:
space:
mode:
authorYth - Arnaud <yth@ythogtha.org>2017-09-22 19:50:40 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-09-22 19:50:40 +0100
commitaf47ee27944781b0c4f603a2251d5640c09fe5d0 (patch)
treeaed9a2cc83eb9a55bc7aecfb1d6b85d086ff14f7 /games/freeciv/freeciv.SlackBuild
parentd0f2168681c3a89ee1ae23cdd3b0036146206087 (diff)
games/freeciv: Updated for version 2.6.0_beta1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/freeciv/freeciv.SlackBuild')
-rw-r--r--games/freeciv/freeciv.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/freeciv/freeciv.SlackBuild b/games/freeciv/freeciv.SlackBuild
index c0f400a564a79..6db59ff08ba36 100644
--- a/games/freeciv/freeciv.SlackBuild
+++ b/games/freeciv/freeciv.SlackBuild
@@ -28,7 +28,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=freeciv
-VERSION=${VERSION:-2.5.9}
+VERSION=${VERSION:-2.6.0_beta1}
+SRCVERSION=${SRCVERSION:-2.6.0-beta1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,9 +65,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2
+cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \