mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
games/lgogdownloader: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
819bc5c08d
commit
b29c6b2abb
3 changed files with 11 additions and 14 deletions
|
@ -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".
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue