diff options
author | Marcel Saegebarth <marc@mos6581.de> | 2016-03-16 19:44:04 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-17 17:57:30 +0700 |
commit | 04da5e4148f29e679487db17e8fb0af553abdeb8 (patch) | |
tree | e251b89a7d8ae18182cf6cd0388d1e7ab68bea99 /games/lgogdownloader/lgogdownloader.SlackBuild | |
parent | ccadaa647461f3c4e572f41cba2b98a970c7ded7 (diff) |
games/lgogdownloader: Updated for version 2.27.
Signed-off-by: Marcel Saegebarth <marc@mos6581.de>
Diffstat (limited to 'games/lgogdownloader/lgogdownloader.SlackBuild')
-rw-r--r-- | games/lgogdownloader/lgogdownloader.SlackBuild | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/games/lgogdownloader/lgogdownloader.SlackBuild b/games/lgogdownloader/lgogdownloader.SlackBuild index 9b0ca161d9126..500cb0b30a5f6 100644 --- a/games/lgogdownloader/lgogdownloader.SlackBuild +++ b/games/lgogdownloader/lgogdownloader.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for "lgogdownloader". -# Copyright 2015 Marcel Saegebarth <marc@mos6581.de> +# Copyright 2015-2016 Marcel Saegebarth <marc@mos6581.de> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=lgogdownloader -VERSION=${VERSION:-2.26} +VERSION=${VERSION:-2.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,8 +84,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make release -make install MANPREFIX=/usr DESTDIR=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DINSTALL_SHARE_DIR=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + +make install DESTDIR=$PKG +cd .. 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 |