Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-02-02 11:38:42 +1000
committerAllan McRae <allan@archlinux.org>2016-02-26 15:18:43 +1000
commit1a29744d0da8aa945b96b234574e0d5c80f13b62 (patch)
treed8c7460efe96d4cd4f1ce1ee83b666b21b4a92fb /scripts/makepkg.sh.in
parentd4f499f5638a68a3b7e17c5171aabdf535b79bd4 (diff)
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.in16
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