This PKGBUILD works, it basically applies this commit:
https://github.com/Sude-/lgogdownloader/commit/f039db5c6572c4fb70d228d511c4d76c1deb517c
# Maintainer: Joe Davison <joe@warhaggis.com>
pkgname=lgogdownloader
pkgver=2.20
pkgrel=2
pkgdesc="An open source downloader for GOG.com games, uses the GOG.com API"
url="https://sites.google.com/site/gogdownloader/"
arch=(i686 x86_64)
license=(WTFPL)
depends=('boost' 'jsoncpp' 'liboauth' 'rhash' 'tinyxml' 'htmlcxx' 'curl')
makedepends=('help2man')
source=(http://sites.google.com/site/gogdownloader/$pkgname-$pkgver.tar.gz)
sha256sums=('3219d5fc2582b1e3b52226eb37867ed6d5f38106f3037107a75a59545f7c95ce')
build() {
cd $srcdir/$pkgname-$pkgver
sed -i 's+^\(INC .*$\)+\1 -I/usr/include/jsoncpp+' Makefile
sed -i 's+jsoncpp/\(json/json.h\)+\1+' */*.h
sed -i 's+jsoncpp/\(json/json.h\)+\1+' */*.cpp
# Set to debug for more output
make release
}
package() {
cd $srcdir/$pkgname-$pkgver
make PREFIX=$pkgdir/usr install
# install -D -m 755 $srcdir/$pkgname-$pkgver/man/$pkgname.1.gz \
# $pkgdir/usr/share/man/man1/$pkgname.1.gz
}
Search Criteria
Package Details: lgogdownloader 3.15-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/lgogdownloader.git (read-only, click to copy) |
---|---|
Package Base: | lgogdownloader |
Description: | Open source downloader for GOG.com games, uses the GOG.com API |
Upstream URL: | https://sites.google.com/site/gogdownloader/ |
Keywords: | games gaming gog gog.com |
Licenses: | WTFPL |
Submitter: | tea |
Maintainer: | FabioLolix |
Last Packager: | FabioLolix |
Votes: | 75 |
Popularity: | 0.68 |
First Submitted: | 2012-08-01 22:40 (UTC) |
Last Updated: | 2024-09-29 13:40 (UTC) |
Dependencies (12)
- boost-libs
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- libboost_filesystem.so (boost183-libsAUR, boost-libs)
- rhash (rhash-gitAUR)
- tidy (tidy-html5-gitAUR)
- tinyxml2 (tinyxml2-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- help2man (help2man-gitAUR, python-help2manAUR) (make)
Required by (50)
- day-of-the-tentacle-remastered-bin (make)
- gog-7-billion-humans (make)
- gog-book-of-hours (make)
- gog-book-of-hours-perpetual-edition-dlc (make)
- gog-dandara-trials-of-fear-edition (make)
- gog-darkest-dungeon (make)
- gog-drova-forsaken-kin (make)
- gog-factorio (make)
- gog-ftl (make)
- gog-heroes-of-might-and-magic-3-complete-edition (make)
- gog-inscryption (make)
- gog-inscryption-demo (make)
- gog-kingdoms-and-castles (make)
- gog-moo (make)
- gog-moo-ii (make)
- gog-night-in-the-woods (make)
- gog-pepper-grinder (make)
- gog-pine (make)
- gog-pony-island (make)
- gog-powers-in-the-basement (make)
- gog-rail-route (make)
- gog-rail-route-demo (make)
- gog-scott-whiskers-in-the-search-for-mr-fumbleclaw (make)
- gog-shortest-trip-to-earth (make)
- gog-slay-the-princess (make)
- gog-space-haven (make)
- gog-stellaris (make)
- gog-stellaris-anniversary-portraits (make)
- gog-stellaris-horizon-signal (make)
- gog-sudden-strike-4 (make)
- gog-sudden-strike-4-africa-desert-war (make)
- gog-sudden-strike-4-battle_of_kursk (make)
- gog-sudden-strike-4-finland_winter_storm (make)
- gog-sudden-strike-4-road-to-dunkirk (make)
- gog-sudden-strike-4-the-pacific-war (make)
- gog-the-will-of-arthur-flabbington (make)
- gog-thimbleweedpark (make)
- gog-thimbleweedpark-dlc-ransome-unbeeped (make)
- gog-three-minutes-to-eight (make)
- gog-through-the-darkest-of-times (make)
- gog-trans-neuronica (make)
- gog-truberbrook (make)
- gog-we-are-the-dwarves (make)
- heretic-data-gog (make)
- hexdd-data-gog (make)
- hexen-data-gog (make)
- hexen2-data-gog (make)
- riven-remake-data-gog-bin (make)
- riven-remake-launcher (make)
- ut2004-gog (make)
Sources (1)
eduardbaer commented on 2015-02-19 21:16 (UTC)
MindLikeWater commented on 2015-02-10 10:21 (UTC)
I have the same compiling problem as InspMustache. Any fix in sight?
InspMustache commented on 2015-02-05 15:29 (UTC)
Doesn't compile for me anymore since the latest update. Apparently json.h is missing.
make: *** [obj/Release/src/downloader.o] Error 1
In file included from include/gamedetails.h:5:0,
from include/api.h:11,
from include/downloader.h:25,
from main.cpp:7:
include/gamefile.h:8:31: fatal error: jsoncpp/json/json.h: No such file or directory
#include <jsoncpp/json/json.h>
^
compilation terminated.
Makefile:119: recipe for target 'obj/Release/main.o' failed
make: *** [obj/Release/main.o] Error 1
src/util.cpp:12:31: fatal error: jsoncpp/json/json.h: No such file or directory
#include <jsoncpp/json/json.h>
^
compilation terminated.
Makefile:131: recipe for target 'obj/Release/src/util.o' failed
make: *** [obj/Release/src/util.o] Error 1
chungy commented on 2014-12-10 00:32 (UTC)
Thanks for updating, but your package still invokes a manual "install" line and still does not use PREFIX and DESTDIR properly. Please fix :(
chungy commented on 2014-11-30 08:13 (UTC)
The "make install" line doesn't install the files to proper locations. You need to set DESTDIR and PREFIX appropriately, and also you should use quotations around environment variables to protect building under certain path names. Fixed PKGBUILD example: http://pastebin.com/TKGGcftU
tea commented on 2014-09-21 12:35 (UTC)
Lots of new features in 2.18, better management of download locations etc. Full changelog as usual at the forum thread: http://www.gog.com/forum/general/lgogdownloader_gogdownloader_for_linux/post476
carstene1ns commented on 2014-08-23 12:10 (UTC)
You can use 'make install' for the release build starting from the next version, it supports setting DESTDIR now.
tea commented on 2014-08-22 19:43 (UTC)
@MindLikeWater You must remove the 'no-cover' option from ~/.config/lgogdownloader/config.cfg
MindLikeWater commented on 2014-08-22 15:16 (UTC)
I currently cannot build the package:
help2man -N -i man/lgogdownloader.supplemental.groff -o man/lgogdownloader.1 bin/Release/lgogdownloader
help2man: can't get `--help' info from bin/Release/lgogdownloader
Try `--no-discard-stderr' if option outputs to stderr
Makefile:99: recipe for target 'after_release' failed
make: *** [after_release] Error 1
Pinned Comments
FabioLolix commented on 2023-10-03 22:03 (UTC)
error while loading shared libraries: libXXX.so.XXX: cannot open shared object file: No such file or directory
for build from source programs you have to rebuild it