summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorEric Anderson <ejona86@gmail.com>2013-01-13 21:27:02 -0800
committerEric Anderson <ejona86@gmail.com>2013-01-13 21:27:02 -0800
commitc24e99bf368e9d9dd4d89904ba0c8de54c8c2eed (patch)
tree326d97cf209b82981ce0da061ec1ea815cb7ade8 /README
downloadhib-dlagent-c24e99bf368e9d9dd4d89904ba0c8de54c8c2eed.tar.gz
hib-dlagent-c24e99bf368e9d9dd4d89904ba0c8de54c8c2eed.zip
Initial commitv0.1
Script is fully-functional, but does not support a configuration file.
Diffstat (limited to 'README')
-rw-r--r--README28
1 files changed, 28 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..60eff5b
--- /dev/null
+++ b/README
@@ -0,0 +1,28 @@
+Tool to download Humble Indie Bundle binaries by file name
+Author: Eric Anderson <ejona86@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.
+
+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 $(echo %u | cut -c 7-)'
+ ...)
+
+The 'cut -c 7-' removes the 'hib://' portion from the URL.
+
+Run with the -h argument for more information.