Add lgogdownloader

This commit is contained in:
moparisthebest
2017-01-07 19:56:19 -05:00
parent 3925cdea57
commit c652a2840e
4 changed files with 114 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Generated by mksrcinfo v8
# Sat Nov 19 17:27:33 UTC 2016
pkgbase = lgogdownloader
pkgdesc = An open source downloader for GOG.com games, uses the GOG.com API
pkgver = 3.0
pkgrel = 2
url = https://sites.google.com/site/gogdownloader/
arch = i686
arch = x86_64
license = WTFPL
makedepends = help2man
makedepends = cmake
depends = boost
depends = jsoncpp
depends = liboauth
depends = rhash
depends = tinyxml2
depends = htmlcxx
depends = curl
source = http://sites.google.com/site/gogdownloader/lgogdownloader-3.0.tar.gz
sha256sums = 4aeb7535a3e68da19ebdf6e5fa8e6553bb8087099bde660b2c883b9d28693835
pkgname = lgogdownloader
+40
View File
@@ -0,0 +1,40 @@
# Maintainer: Joe Davison <joe@warhaggis.com>
pkgname=lgogdownloader
pkgver=3.0
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' 'tinyxml2' 'htmlcxx' 'curl')
makedepends=('help2man' 'cmake')
source=("http://sites.google.com/site/gogdownloader/$pkgname-$pkgver.tar.gz")
sha256sums=('4aeb7535a3e68da19ebdf6e5fa8e6553bb8087099bde660b2c883b9d28693835')
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
}