2017-01-07 19:56:19 -05:00
|
|
|
# Maintainer: Joe Davison <joe@warhaggis.com>
|
|
|
|
|
|
|
|
pkgname=lgogdownloader
|
2018-12-04 23:07:06 -05:00
|
|
|
pkgver=3.4
|
2019-03-03 20:21:14 -05:00
|
|
|
pkgrel=3
|
2017-01-07 19:56:19 -05:00
|
|
|
pkgdesc="An open source downloader for GOG.com games, uses the GOG.com API"
|
|
|
|
url="https://sites.google.com/site/gogdownloader/"
|
2018-12-04 23:07:06 -05:00
|
|
|
arch=('x86_64')
|
2019-03-03 20:21:14 -05:00
|
|
|
license=('WTFPL')
|
2017-01-07 19:56:19 -05:00
|
|
|
depends=('boost' 'jsoncpp' 'liboauth' 'rhash' 'tinyxml2' 'htmlcxx' 'curl')
|
|
|
|
makedepends=('help2man' 'cmake')
|
|
|
|
source=("http://sites.google.com/site/gogdownloader/$pkgname-$pkgver.tar.gz")
|
2018-12-04 23:07:06 -05:00
|
|
|
sha256sums=('1ac33dc6678d2d40ecd3c042f0514ca905d2949c91240bda4d9e17d3ff433903')
|
2017-01-07 19:56:19 -05:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
|
|
|
if [ ! -d "build" ]; then
|
|
|
|
mkdir build
|
|
|
|
else
|
|
|
|
rm -rf build/*
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd build
|
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
|
|
make
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
|
|
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
|
|
|
|
|