diff options
author | Hunter Sezen <orbea@riseup.net> | 2019-11-02 01:17:23 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-02 01:17:23 +0700 |
commit | e38deb59f80234cbcea3f9f57efc79589c478a83 (patch) | |
tree | f56695282887e67adf49fba31f69caf0bf75e523 /games/pioneer/pioneer.SlackBuild | |
parent | f3f57962cd94235b1f29aa3c5b73a84cbc80e16e (diff) |
games/pioneer: Updated for version 20191009.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pioneer/pioneer.SlackBuild')
-rw-r--r-- | games/pioneer/pioneer.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/games/pioneer/pioneer.SlackBuild b/games/pioneer/pioneer.SlackBuild index ab07afcbcfaff..989befe21a0eb 100644 --- a/games/pioneer/pioneer.SlackBuild +++ b/games/pioneer/pioneer.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=pioneer SRCNAM=$(printf %s $PRGNAM | tr [a-z] [A-Z]) -VERSION=${VERSION:-20190203} +VERSION=${VERSION:-20191009} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,8 +83,10 @@ LUA=OFF pkg-config --exists glew && GLEW=ON pkg-config --exists lua5.2 && LUA=ON -# pioneer installs the game data directly to the system if -# using any other directory than /usr/share/pioneer. +# Workaround 32-bit build failure +# https://github.com/pioneerspacesim/pioneer/issues/4691 +patch -p1 < $CWD/alignment.patch + mkdir -p build cd build cmake \ @@ -92,7 +94,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_BINDIR=games \ - -DPIONEER_DATA_DIR=/usr/share/$PRGNAM \ + -DPIONEER_DATA_DIR=/usr/share/games/$PRGNAM \ -DUSE_SYSTEM_LIBGLEW=$GLEW \ -DUSE_SYSTEM_LIBLUA=$LUA \ -DCMAKE_BUILD_TYPE=$RELEASE .. @@ -100,9 +102,6 @@ cd build make install DESTDIR=$PKG cd .. -# Remove empty .gitignore files -find $PKG -name '.gitignore' -exec rm -f {} \; - if [ "$DEBUG" = 0 ]; then find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |