makepkg: add lrzip compression support

Signed-off-by: Allan McRae <allan@archlinux.org>
Fix compilation error on clang

This also lead me to notice that in _alpm_gpgme_checksig many things
were not being cleaned up.  Fix this by having CHECK_ERR goto gpg_error
and make the required adjustments.

Signed-off-by: Allan McRae <allan@archlinux.org>
makepkg: fix -r and --needed conflict

In makepkg, passing -sr --needed causes there to be a conflict when
pacman goes to remove the dependencies, as the --needed flag is not an
option for pacman -R. This patch makes --needed not get added to the
PACMAN_OPTS array, but it acts like ASDEPS, and is only added to an
install function.

Signed-off-by: William Giokas <1007380@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Fix --enable-warningflags

gcc gives an error on an unknown warning flag, but clang just gives a
warning.  Upgrade the warning in clang to an error by activating
-Werror=unknown-warning-option if available.

Signed-off-by: Allan McRae <allan@archlinux.org>
Add format attributes to all required functions

Fixes all clang warnings with -Wformat-literal.

Also, fix genuine formating issue discovered once adding these attributes
and add a cast to prevent a gcc warning.

Signed-off-by: Allan McRae <allan@archlinux.org>
Fix gpgme detection

The gpgme detection had a couple of issues which are fixed:

1) In some cases it would not error out when gpgme was missing and
--with-gpgme was passed.

2) In some cases, the CFLAGS/LDFLAGS etc would not be properly
restored.

Signed-off-by: Allan McRae <allan@archlinux.org>
Remove "ts=2 sw=2" from Vim modelines for pacman-contrib

There is no reason to force a certain tab width on users. These settings
should be configured by the user in their own ~/.vimrc.

Signed-off-by: Jason St. John <jstjohn@purdue.edu>
Remove tab width config from Vim modelines in doc/

There is no reason to force a certain tab width on users. These settings
should be configured by the user in their own ~/.vimrc.

Signed-off-by: Jason St. John <jstjohn@purdue.edu>
update zshcompletion
save update