Beginning to move out Hackage stuff to own module.

Beginning the attempt to modularize the handling of package repos a bit.

Signed-off-by: Magnus Therning <magnus@therning.org>
Clean up the interface to the Hackage module.

Hiding away the URL and file name of the index to further hide away the
innards of the interaction with Hackage.

Signed-off-by: Magnus Therning <magnus@therning.org>
Remove hackage URL from translation to PKGBUILD.

Signed-off-by: Magnus Therning <magnus@therning.org>
Remove hackage URL from urls command.

Signed-off-by: Magnus Therning <magnus@therning.org>
Add a datatype and instance for Hackage.

Signed-off-by: Magnus Therning <magnus@therning.org>