2 # @sysconfdir@/makepkg.conf
5 #########################################################################
7 #########################################################################
9 #-- The download utilities that makepkg should use to acquire sources
10 # Format: 'protocol::agent'
11 DLAGENTS=('ftp::/usr/bin/curl -qfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
12 'http::/usr/bin/curl -qb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
13 'https::/usr/bin/curl -qb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
14 'rsync::/usr/bin/rsync --no-motd -z %u %o'
15 'scp::/usr/bin/scp -C %u %o')
22 #########################################################################
23 # ARCHITECTURE, COMPILE FLAGS
24 #########################################################################
29 #-- Compiler and Linker Flags
34 #-- Make Flags: change this for DistCC/SMP systems
37 #########################################################################
39 #########################################################################
41 # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
42 # A negated environment option will do the opposite of the comments below.
44 #-- fakeroot: Allow building packages as a non-root user
45 #-- distcc: Use the Distributed C/C++/ObjC compiler
46 #-- color: Colorize output messages
47 #-- ccache: Use ccache to cache compilation
48 #-- check: Run the check() function if present in the PKGBUILD
49 #-- sign: Generate PGP signature file
51 BUILDENV=(fakeroot !distcc color !ccache check !sign)
53 #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
54 #-- specify a space-delimited list of hosts running in the DistCC cluster.
57 #-- Specify a directory for package building.
58 #BUILDDIR=/tmp/makepkg
60 #########################################################################
61 # GLOBAL PACKAGE OPTIONS
62 # These are default values for the options=() settings
63 #########################################################################
65 # Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
66 # A negated option will do the opposite of the comments below.
68 #-- strip: Strip symbols from binaries/libraries
69 #-- docs: Save doc directories specified by DOC_DIRS
70 #-- libtool: Leave libtool (.la) files in packages
71 #-- emptydirs: Leave empty directories in packages
72 #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
73 #-- purge: Remove files specified by PURGE_TARGETS
74 #-- upx: Compress binary executable files using UPX
76 OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
78 #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
80 #-- Options to be used when stripping binaries. See `man strip' for details.
81 STRIP_BINARIES="@STRIP_BINARIES@"
82 #-- Options to be used when stripping shared libraries. See `man strip' for details.
83 STRIP_SHARED="@STRIP_SHARED@"
84 #-- Options to be used when stripping static libraries. See `man strip' for details.
85 STRIP_STATIC="@STRIP_STATIC@"
86 #-- Manual (man and info) directories to compress (if zipman is specified)
87 MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
88 #-- Doc directories to remove (if !docs is specified)
89 DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
90 #-- Files to be removed from all packages (if purge is specified)
91 PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
93 #########################################################################
95 #########################################################################
97 # Default: put built package and cached source in build directory
99 #-- Destination: specify a fixed directory where all packages will be placed
100 #PKGDEST=/home/packages
101 #-- Source cache: specify a fixed directory where source files will be cached
102 #SRCDEST=/home/sources
103 #-- Source packages: specify a fixed directory where all src packages will be placed
104 #SRCPKGDEST=/home/srcpackages
105 #-- Packager: name/email of the person or organization building packages
106 #PACKAGER="John Doe <john@doe.com>"
107 #-- Specify a key to use for package signing
110 #########################################################################
111 # COMPRESSION DEFAULTS
112 #########################################################################
114 COMPRESSGZ=(gzip -c -f -n)
115 COMPRESSBZ2=(bzip2 -c -f)
116 COMPRESSXZ=(xz -c -z -)
117 COMPRESSZ=(compress -c -f)
120 #########################################################################
122 #########################################################################
124 # WARNING: Do NOT modify these variables unless you know what you are
130 # vim: set ft=sh ts=2 sw=2 et: