summarylogtreecommitdiffstats
path: root/conf.pkgopts.patch
blob: e43cf9881728c7a55e24c75a8ccdf967853d8c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- makepkg-optimize.conf
+++ makepkg-optimize.conf
@@ -83,6 +83,9 @@
 #-- 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
+#-- optipng:    Optimize PNG images with optipng
+#-- svgo:       Optimize SVG images with nodejs-svgo
 #-- debug:      Add debugging flags as specified in DEBUG_* variables
 #
 OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !optipng !upx !debug)
@@ -126,6 +129,12 @@
 DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
 #-- Files to be removed from all packages (if purge is specified)
 PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
+#-- Compression parameters for UPX
+#UPXFLAGS="--ultra-brute"
+#-- Compression parameters for optiPNG
+#OPTIPNGFLAGS=" -o7 -zm1-9"
+#-- Compression parameters for SVGO
+#SVGOFLAGS="--multipass"
 
 #########################################################################
 # PACKAGE OUTPUT