summaryrefslogtreecommitdiff
path: root/games/freeorion/freeorion.SlackBuild
diff options
context:
space:
mode:
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