mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-08-13 15:43:47 -04:00
41 lines
846 B
Bash
Executable File
41 lines
846 B
Bash
Executable File
# Maintainer: Joe Davison <joe@warhaggis.com>
|
|
|
|
pkgname=lgogdownloader
|
|
pkgver=3.2
|
|
pkgrel=1
|
|
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=('9e60af50c18533884ca317778b291152d5f04d93dfd3dc2579f6f965538b2031')
|
|
|
|
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
|
|
}
|
|
|
|
|