aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-09-22 16:29:57 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 17:40:07 +0700
commit2ac8c1eda2b071b73c48aaba136537f03aa1fa28 (patch)
tree77a89d0b6339cf5df91155928f07cc9f736f2992
parentb95384db5110c1131d29077cbc7b177282757753 (diff)
games/conquest: Updated for version 9.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--games/conquest/conquest.SlackBuild9
-rw-r--r--games/conquest/conquest.desktop2
-rw-r--r--games/conquest/conquest.info6
3 files changed, 9 insertions, 8 deletions
diff --git a/games/conquest/conquest.SlackBuild b/games/conquest/conquest.SlackBuild
index fdb7d72ff480..0c2281cb80c5 100644
--- a/games/conquest/conquest.SlackBuild
+++ b/games/conquest/conquest.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for conquest
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=conquest
-VERSION=${VERSION:-8.5}
+VERSION=${VERSION:-9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,7 +66,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,6 +75,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -103,7 +104,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README LICENSE HISTORY COPYRIGHT CREDITS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/conquest/conquest.desktop b/games/conquest/conquest.desktop
index 1f95f4e52020..dcbe2dff6f0a 100644
--- a/games/conquest/conquest.desktop
+++ b/games/conquest/conquest.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Conquest
Comment=Real-time, multi-player space warfare game
-Exec=conquestgl -m
+Exec=conquest
Icon=conquest
Terminal=false
Type=Application
diff --git a/games/conquest/conquest.info b/games/conquest/conquest.info
index fe1b502e7f54..fa020ada3e09 100644
--- a/games/conquest/conquest.info
+++ b/games/conquest/conquest.info
@@ -1,8 +1,8 @@
PRGNAM="conquest"
-VERSION="8.5"
+VERSION="9.1"
HOMEPAGE="https://github.com/jtrulson/conquest/"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/conquest/conquest-8.5.src.tar.gz"
-MD5SUM="0226bcb9f7332ea7e2cadc9f2f6b62ca"
+DOWNLOAD="https://github.com/jtrulson/conquest/archive/9.1/conquest-9.1.tar.gz"
+MD5SUM="bb6f860cf3bd2045fb89ccdbf9c7fa42"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""