blob: 1cee438a3ccf97fc71ea514a2ee65fdf27efb894 (
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
|
Tool to download Humble Indie Bundle binaries by file name
Author: Eric Anderson <ejona86@gmail.com>
Contributor: Thomas Riccardi <riccardi.thomas@gmail.com>
Contributor: Devin J. Pohly <djpohly@gmail.com>
Contributor: Yaohan Chen <yaohan.chen@gmail.com>
Description
===========
Primarily for use as a DLAGENT in makepkg.conf in Arch Linux, but generally
useful when needing to download a particular Humble Bundle file via a script.
It also manages a storage directory where already downloaded file can be found.
Installation and Usage
======================
This utility currently requires humblebundle-python to query HumbleBundle's API.
It uses curl to download the file, or can simply provide the URL needed to
download the file so a different HTTP downloader such a Wget can be used.
To run hib-dlagent without installating it, add parameters '-S.', which
tells it to look for helper script(s) in the current directory.
By default hib-dlagent assumes the helper script is installed in
/usr/share/hib-dlagent. The provided install.sh will install files into this
location. If they are installed elsewhere, it is necessary to either run
hib-dlagent with the corresponding -S parameters, or edit the variables
SCRIPT_PATH and CONFIG_PATH in hib-dlagent.
To use as a DLAGENT for the 'hib' scheme, you can modify makepkg.conf:
DLAGENTS=(...
'hib::/usr/bin/hib-dlagent -u user@example.org -o %o %u'
...)
Run with the -h argument for more information.
|