diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-08-25 02:05:10 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-29 10:07:27 +0700 |
commit | 1c9c28e2ad499f49c4994d12d7eea3634403ee80 (patch) | |
tree | 20aa73887eef22734428764bd6381a92120d63e6 /games/freeorion | |
parent | fca91b5529301283cc7aadb0d501743ea23307b6 (diff) |
games/freeorion: Updated for version 0.4.5_rc1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/freeorion')
-rw-r--r-- | games/freeorion/freeorion.SlackBuild | 17 | ||||
-rw-r--r-- | games/freeorion/freeorion.info | 8 |
2 files changed, 14 insertions, 11 deletions
diff --git a/games/freeorion/freeorion.SlackBuild b/games/freeorion/freeorion.SlackBuild index 4de14e53377f..aa166d86c25d 100644 --- a/games/freeorion/freeorion.SlackBuild +++ b/games/freeorion/freeorion.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for freeorion -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=freeorion -SRCNAM=FreeOrion -VERSION=${VERSION:-0.4.3} +SRCVER=${SRCVER:-0.4.5-rc1} +VERSION=$(echo $SRCVER | tr - _) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz -cd $SRCNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/v$SRCVER.tar.gz +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,6 +70,9 @@ 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 {} \; +# Fix cmake target for version file +mv util/Version.cpp.in util/Version.cpp + mkdir -p build cd build cmake \ @@ -86,7 +89,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 changelog.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md changelog.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/freeorion/freeorion.info b/games/freeorion/freeorion.info index 38241fa6a9b0..24f5b613e4c8 100644 --- a/games/freeorion/freeorion.info +++ b/games/freeorion/freeorion.info @@ -1,10 +1,10 @@ PRGNAM="freeorion" -VERSION="0.4.3" +VERSION="0.4.5_rc1" HOMEPAGE="http://www.freeorion.org" -DOWNLOAD="https://github.com/dslackw/FreeOrion/archive/0.4.3.tar.gz" -MD5SUM="7dd9fd65951d8f0d9f06779394cec694" +DOWNLOAD="https://github.com/freeorion/freeorion/archive/v0.4.5-rc1.tar.gz" +MD5SUM="48fbb2d5827c5a48787b3009b022b6b1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="OpenAL FreeImage bullet ois ogre" +REQUIRES="SDL2 OpenAL" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" |