From b29c6b2abbb0ddd1eff65b7ea9d1bc4b14995deb Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 22 Feb 2022 16:22:47 -0500 Subject: games/lgogdownloader: Fix download URL. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/lgogdownloader/README | 4 ---- games/lgogdownloader/lgogdownloader.SlackBuild | 19 ++++++++++--------- games/lgogdownloader/lgogdownloader.info | 2 +- 3 files changed, 11 insertions(+), 14 deletions(-) (limited to 'games') diff --git a/games/lgogdownloader/README b/games/lgogdownloader/README index fa3f79e8a9..447a7128cd 100644 --- a/games/lgogdownloader/README +++ b/games/lgogdownloader/README @@ -1,6 +1,2 @@ LGOGDownloader is an open source downloader to GOG.com for Linux users using the same API as the official GOGDownloader. - -Note: -You need a static rhash library for this to work so pass "STATICLIB=yes" -to "rhash.SlackBuild". diff --git a/games/lgogdownloader/lgogdownloader.SlackBuild b/games/lgogdownloader/lgogdownloader.SlackBuild index 78c1063579..5ef8424013 100644 --- a/games/lgogdownloader/lgogdownloader.SlackBuild +++ b/games/lgogdownloader/lgogdownloader.SlackBuild @@ -25,11 +25,15 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2: +# - use working download URL. +# - man page in /usr/man. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lgogdownloader VERSION=${VERSION:-3.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +45,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -91,9 +92,9 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ mkdir -p build cd build @@ -104,11 +105,11 @@ cd build -DUSE_QT_GUI=OFF \ -DCMAKE_BUILD_TYPE=Release .. -make install DESTDIR=$PKG +make install/strip 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 +mv $PKG/usr/share/man $PKG/usr/man +rmdir $PKG/usr/share/man mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/games/lgogdownloader/lgogdownloader.info b/games/lgogdownloader/lgogdownloader.info index 74e2933b09..7f49712916 100644 --- a/games/lgogdownloader/lgogdownloader.info +++ b/games/lgogdownloader/lgogdownloader.info @@ -1,7 +1,7 @@ PRGNAM="lgogdownloader" VERSION="3.8" HOMEPAGE="https://sites.google.com/site/gogdownloader/home/" -DOWNLOAD="https://sites.google.com/site/gogdownloader/lgogdownloader-3.8.tar.gz" +DOWNLOAD="http://ftp.osuosl.org/pub/gentoo/distfiles/lgogdownloader-3.8.tar.gz" MD5SUM="f684d8641f68550b14ab7f0f43cbf0f9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3