From 04da5e4148f29e679487db17e8fb0af553abdeb8 Mon Sep 17 00:00:00 2001 From: Marcel Saegebarth Date: Wed, 16 Mar 2016 19:44:04 +0100 Subject: games/lgogdownloader: Updated for version 2.27. Signed-off-by: Marcel Saegebarth --- games/lgogdownloader/lgogdownloader.SlackBuild | 16 ++++++++++++---- games/lgogdownloader/lgogdownloader.info | 6 +++--- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/games/lgogdownloader/lgogdownloader.SlackBuild b/games/lgogdownloader/lgogdownloader.SlackBuild index 9b0ca161d9..500cb0b30a 100644 --- a/games/lgogdownloader/lgogdownloader.SlackBuild +++ b/games/lgogdownloader/lgogdownloader.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for "lgogdownloader". -# Copyright 2015 Marcel Saegebarth +# Copyright 2015-2016 Marcel Saegebarth # 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 diff --git a/games/lgogdownloader/lgogdownloader.info b/games/lgogdownloader/lgogdownloader.info index 6adb7e9890..a5e2b98a6b 100644 --- a/games/lgogdownloader/lgogdownloader.info +++ b/games/lgogdownloader/lgogdownloader.info @@ -1,8 +1,8 @@ PRGNAM="lgogdownloader" -VERSION="2.26" +VERSION="2.27" HOMEPAGE="https://sites.google.com/site/gogdownloader/home/" -DOWNLOAD="https://sites.google.com/site/gogdownloader/lgogdownloader-2.26.tar.gz" -MD5SUM="c55507e0f329113d1a221842f56720b5" +DOWNLOAD="https://sites.google.com/site/gogdownloader/lgogdownloader-2.27.tar.gz" +MD5SUM="395884f93f99274c0834f66f7d016b60" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="htmlcxx jsoncpp liboauth rhash tinyxml" -- cgit v1.2.3