diff options
author | Martin Reboredo | 2022-05-21 10:59:15 -0300 |
---|---|---|
committer | Martin Reboredo | 2022-05-21 10:59:15 -0300 |
commit | 8897553038c4362cc4a281f6ee234b78b5bf52a0 (patch) | |
tree | 072e5b12aa2c57bc6375c349faaa502a6ec78bfe | |
download | aur-8897553038c4362cc4a281f6ee234b78b5bf52a0.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c70279672779 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = heroic-gogdl + pkgdesc = GOG Downloading module for Heroic Games Launcher + pkgver = 0.3+r4 + pkgrel = 1 + url = https://github.com/Heroic-Games-Launcher/heroic-gogdl + arch = any + license = GPL3 + makedepends = python-setuptools + depends = python-requests + source = git+https://github.com/Heroic-Games-Launcher/heroic-gogdl#commit=a2d801f4ff7df403d6373b92e24d638af826cc5b + sha256sums = SKIP + +pkgname = heroic-gogdl diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1936c2395400 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Martin Reboredo <yakoyoku@gmail.com> + +pkgname=heroic-gogdl +_basever=0.3 +pkgver=0.3+r4 +pkgrel=1 +_commit=a2d801f4ff7df403d6373b92e24d638af826cc5b +pkgdesc="GOG Downloading module for Heroic Games Launcher" +arch=('any') +url="https://github.com/Heroic-Games-Launcher/heroic-gogdl" +license=('GPL3') +depends=('python-requests') +makedepends=('python-setuptools') +source=("git+$url#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + echo "$_basever+r$(git rev-list --count e80c181..$_commit)" +} + +build() { + cd "$srcdir/$pkgname" + python setup.py build +} + +package() { + cd "$srcdir/$pkgname" + python setup.py install --skip-build -O1 --root="$pkgdir/" +} |