pacsift: use pu_find_pkgspec

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
pacutils: free alpm_fetch_pkgurl result

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
README: remove outdated documentation and TODO

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
pacconf: convert usage() to hputs macro

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
pacconf: use global variables

This allows memory to be free'd more reliably regardless of where the
program exits.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
pacconf: exit non-zero on errors

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
pacconf: consolidate getopt calls

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
pacconf: use pu_print_version

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
pacconf: close memory leak

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>