summaryrefslogtreecommitdiff
path: root/games/freeorion
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-10-19 08:05:31 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-22 08:47:25 +0700
commit32a55db79259051a7a221ed3e2bfa48dcfb14c02 (patch)
tree1bed6c441a0822941d887d92e41282fc592710b9 /games/freeorion
parent3a12dfa0638d97947a28fddbe6c3194b8d91502d (diff)
downloadslackbuilds-32a55db79259051a7a221ed3e2bfa48dcfb14c02.tar.gz
games/freeorion: Updated for version 0.4.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/freeorion')
-rw-r--r--games/freeorion/freeorion.SlackBuild6
-rw-r--r--games/freeorion/freeorion.info6
2 files changed, 6 insertions, 6 deletions
diff --git a/games/freeorion/freeorion.SlackBuild b/games/freeorion/freeorion.SlackBuild
index 15017de504..7281d05e9b 100644
--- a/games/freeorion/freeorion.SlackBuild
+++ b/games/freeorion/freeorion.SlackBuild
@@ -24,7 +24,7 @@
SRCNAM=FreeOrion
PRGNAM=${SRCNAM,,}
-SRCVER=${SRCVER:-v0.4.5_2015-09-01.f203162}
+SRCVER=${SRCVER:-v0.4.6_2016-09-16.49f9123}
VERSION=$(echo $SRCVER | cut -c2-6)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -83,7 +83,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -93,7 +93,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 changelog.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.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 2df9f235c0..99ec98ea9c 100644
--- a/games/freeorion/freeorion.info
+++ b/games/freeorion/freeorion.info
@@ -1,8 +1,8 @@
PRGNAM="freeorion"
-VERSION="0.4.5"
+VERSION="0.4.6"
HOMEPAGE="http://www.freeorion.org"
-DOWNLOAD="https://github.com/freeorion/freeorion/releases/download/v0.4.5/FreeOrion_v0.4.5_2015-09-01.f203162_Source.tar.gz"
-MD5SUM="706b8e9ab2ee29575a927e6f1c772d61"
+DOWNLOAD="https://github.com/freeorion/freeorion/releases/download/v0.4.6/FreeOrion_v0.4.6_2016-09-16.49f9123_Source.tar.gz"
+MD5SUM="2927818ca87834ec7cc6e77b11619186"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2 OpenAL"