diff options
author | Allan McRae <allan@archlinux.org> | 2016-02-02 02:38:42 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-26 06:18:43 +0100 |
commit | 1a29744d0da8aa945b96b234574e0d5c80f13b62 (patch) | |
tree | d8c7460efe96d4cd4f1ce1ee83b666b21b4a92fb /scripts/makepkg.sh.in | |
parent | d4f499f5638a68a3b7e17c5171aabdf535b79bd4 (diff) | |
download | pacman-1a29744d0da8aa945b96b234574e0d5c80f13b62.tar.gz pacman-1a29744d0da8aa945b96b234574e0d5c80f13b62.tar.xz |
makepkg: Remove upx and optipng support
These options were added before libmakepkg allowed passes like this to be
dropped in. I prefer only real core packaging tasks to be included in
makepkg and additional things like this to be dropped in by a user or
distribution that wants to support them.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r-- | scripts/makepkg.sh.in | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 8d20e25d..5b4811f1 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1556,22 +1556,6 @@ check_software() { fi fi - # upx - binary compression - if check_option "upx" "y"; then - if ! type -p upx >/dev/null; then - error "$(gettext "Cannot find the %s binary required for compressing binaries.")" "upx" - ret=1 - fi - fi - - # optipng - PNG image optimization - if check_option "optipng" "y"; then - if ! type -p optipng >/dev/null; then - error "$(gettext "Cannot find the %s binary required for optimizing PNG images.")" "optipng" - ret=1 - fi - fi - # distcc - compilation with distcc if check_buildoption "distcc" "y"; then if ! type -p distcc >/dev/null; then |