blob: 6e114c23ee1fec5f210f40d3e2207b18411d74c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Joe Davison <joe@warhaggis.com>
pkgname=lgogdownloader
pkgver=3.4
pkgrel=2
pkgdesc="An open source downloader for GOG.com games, uses the GOG.com API"
url="https://sites.google.com/site/gogdownloader/"
arch=('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=('1ac33dc6678d2d40ecd3c042f0514ca905d2949c91240bda4d9e17d3ff433903')
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
}
|