summaryrefslogtreecommitdiff
path: root/games/freeorion/freeorion.SlackBuild
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/freeorion.SlackBuild
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/freeorion.SlackBuild')
-rw-r--r--games/freeorion/freeorion.SlackBuild6
1 files changed, 3 insertions, 3 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