diff options
author | Allan McRae <allan@archlinux.org> | 2011-06-14 14:01:05 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-22 17:45:18 +0200 |
commit | b803a33a8fc2ef86ba2d986c36f31524532d454b (patch) | |
tree | 6a5e5a8a88be9ab10535a352d09a19647baf037c /etc | |
parent | b8990993271b34d309ada49197090895b0fbdfb6 (diff) | |
download | pacman-b803a33a8fc2ef86ba2d986c36f31524532d454b.tar.gz pacman-b803a33a8fc2ef86ba2d986c36f31524532d454b.tar.xz |
makepkg: Add UPX compression support
This patch enables the automatic compression of executable binaries
using UPX when the 'upx' options is specified in makepkg.conf or the
PKGBUILD. Additional arguments can be passed to UPX by specifying
the UPXFLAGS variable.
Original-patch-by: Bryce Gibson <bryce@gibson-consulting.com.au>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/makepkg.conf.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index 9a790fcf..42ae9405 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -60,7 +60,7 @@ BUILDENV=(fakeroot !distcc color !ccache check !sign) # These are default values for the options=() settings ######################################################################### # -# Default: OPTIONS=(strip docs libtool emptydirs zipman purge) +# Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx) # A negated option will do the opposite of the comments below. # #-- strip: Strip symbols from binaries/libraries @@ -69,8 +69,9 @@ BUILDENV=(fakeroot !distcc color !ccache check !sign) #-- emptydirs: Leave empty directories in packages #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip #-- purge: Remove files specified by PURGE_TARGETS +#-- upx: Compress binary executable files using UPX # -OPTIONS=(strip docs libtool emptydirs zipman purge) +OPTIONS=(strip docs libtool emptydirs zipman purge !upx) #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512 INTEGRITY_CHECK=(md5) |