mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
games/freeorion: Updated for version 0.4.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
3a12dfa063
commit
32a55db792
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue