1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-21 08:15:01 -05:00

Add lgogdownloader

This commit is contained in:
Travis Burtrum 2017-01-07 19:56:19 -05:00
parent 3925cdea57
commit c652a2840e
4 changed files with 114 additions and 0 deletions

21
src/htmlcxx/.SRCINFO Normal file
View File

@ -0,0 +1,21 @@
# Generated by mksrcinfo v8
# Sun Jan 10 13:59:15 UTC 2016
pkgbase = htmlcxx
pkgdesc = A simple non-validating CSS1 and HTML parser for C++.
pkgver = 0.86
pkgrel = 1
url = http://htmlcxx.sourceforge.net/
arch = i686
arch = x86_64
license = LGPL
provides = htmlcxx
provides = libhtmlcxx
provides = libcss_parser
conflicts = htmlcxx
conflicts = libhtmlcxx
conflicts = libcss_parser
source = http://downloads.sourceforge.net/project/htmlcxx/htmlcxx/0.86/htmlcxx-0.86.tar.gz
sha256sums = 07542b5ea2442143b125ba213b6823ff4a23fff352ecdd84bbebe1d154f4f5c1
pkgname = htmlcxx

29
src/htmlcxx/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Maintainer: Timothée Girard <aur@timotheegirard.com>
# Contributor: Eduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com>
pkgname=htmlcxx
pkgver=0.86
pkgrel=1
pkgdesc="A simple non-validating CSS1 and HTML parser for C++."
arch=('i686' 'x86_64')
url="http://htmlcxx.sourceforge.net/"
license=('LGPL')
depends=()
makedepends=()
conflicts=('htmlcxx' 'libhtmlcxx' 'libcss_parser')
provides=('htmlcxx' 'libhtmlcxx' 'libcss_parser')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('07542b5ea2442143b125ba213b6823ff4a23fff352ecdd84bbebe1d154f4f5c1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}

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
src/lgogdownloader/PKGBUILD Executable file
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
}