blob: 6768f618695991909f63a09786ec027f1255ad34 (
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
|
Tool to download Humble Indie Bundle binaries by file name
Author: Eric Anderson <ejona86@gmail.com>
Contributor: Thomas Riccardi <riccardi.thomas@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.
The script does very little other than argument parsing; it effectively has only
two "real" lines of functionality.
It also manages a storage directory where already downloaded file can be found.
Installation and Usage
======================
Run the script directly or copy the script to a location like /usr/bin/ for all
users to use.
The tool 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 use as a DLAGENT for the 'hib' scheme, you can modify makepkg.conf:
DLAGENTS=(...
'hib::/usr/bin/hib-dlagent -k 1a2b3c -o %o %u'
...)
Run with the -h argument for more information.
|