games/freeorion: Updated for version 0.4.6.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2016-10-19 08:05:31 +02:00 committed by Willy Sudiarto Raharjo
parent 3a12dfa063
commit 32a55db792
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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"