2017-01-07 19:56:19 -05:00
|
|
|
# Maintainer: Joe Davison <joe@warhaggis.com>
|
|
|
|
|
|
|
|
pkgname=lgogdownloader
|
2017-11-25 21:32:19 -05:00
|
|
|
pkgver=3.3
|
2018-06-01 08:08:14 -04:00
|
|
|
pkgrel=4
|
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/"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
license=(WTFPL)
|
|
|
|
depends=('boost' 'jsoncpp' 'liboauth' 'rhash' 'tinyxml2' 'htmlcxx' 'curl')
|
|
|
|
makedepends=('help2man' 'cmake')
|
|
|
|
source=("http://sites.google.com/site/gogdownloader/$pkgname-$pkgver.tar.gz")
|
2017-11-25 21:32:19 -05:00
|
|
|
sha256sums=('8bb7a37b48f558bddeb662ebac32796b0ae11fa2cc57a03d48b3944198e800ce')
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
|