diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2018-06-28 20:22:31 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-30 07:00:07 +0700 |
commit | 4908b7c2165e564ffc4463438e30e1ca75dfa29a (patch) | |
tree | 915ea14fc49326960bb3939db3b34f1fab1b22ce /games/freeorion | |
parent | 771e8a3b92141ff9de567e0d2e651001da38ebef (diff) | |
download | slackbuilds-4908b7c2165e564ffc4463438e30e1ca75dfa29a.tar.gz |
games/freeorion: Updated for version 0.4.7.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/freeorion')
-rw-r--r-- | games/freeorion/freeorion.SlackBuild | 13 | ||||
-rw-r--r-- | games/freeorion/freeorion.info | 6 |
2 files changed, 8 insertions, 11 deletions
diff --git a/games/freeorion/freeorion.SlackBuild b/games/freeorion/freeorion.SlackBuild index 46e4a237a9..289d933df8 100644 --- a/games/freeorion/freeorion.SlackBuild +++ b/games/freeorion/freeorion.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for freeorion -# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -SRCNAM=FreeOrion -PRGNAM=${SRCNAM,,} -SRCVER=${SRCVER:-v0.4.7_2017-04-24.60d06dc} -VERSION=$(echo $SRCVER | cut -c2-6) +PRGNAM=freeorion +VERSION=${VERSION:-0.4.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,8 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/${SRCNAM}_${SRCVER}_Source.tar.gz -mv src-tarball $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -93,7 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md CONTRIBUTING.md ChangeLog.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/freeorion/freeorion.info b/games/freeorion/freeorion.info index 366fec7712..3e657abada 100644 --- a/games/freeorion/freeorion.info +++ b/games/freeorion/freeorion.info @@ -1,8 +1,8 @@ PRGNAM="freeorion" -VERSION="0.4.7" +VERSION="0.4.7.1" HOMEPAGE="http://www.freeorion.org" -DOWNLOAD="https://github.com/freeorion/freeorion/releases/download/v0.4.7/FreeOrion_v0.4.7_2017-04-24.60d06dc_Source.tar.gz" -MD5SUM="30db1505f398403df04707b6e69f79f2" +DOWNLOAD="https://github.com/freeorion/freeorion/archive/v0.4.7.1/freeorion-v0.4.7.1.tar.gz" +MD5SUM="befdf313c4268f7a4fc3387d7225dfc8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SDL2 OpenAL" |