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
|
2017-01-20 10:44:07 -05:00
|
|
|
pkgrel=1
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
|