pacman-key: rework importing distro/repo provided keyrings
[pacman-ng.git] / etc / makepkg.conf.in
blob65d8ab9e17751f2131ebed022c869c627fd6e98c
2 # @sysconfdir@/makepkg.conf
5 #########################################################################
6 # SOURCE ACQUISITION
7 #########################################################################
9 #-- The download utilities that makepkg should use to acquire sources
10 #  Format: 'protocol::agent'
11 DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
12           'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
13           'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
14           'rsync::/usr/bin/rsync -z %u %o'
15           'scp::/usr/bin/scp -C %u %o')
17 # Other common tools:
18 # /usr/bin/snarf
19 # /usr/bin/lftpget -c
20 # /usr/bin/wget
22 #########################################################################
23 # ARCHITECTURE, COMPILE FLAGS
24 #########################################################################
26 CARCH="@CARCH@"
27 CHOST="@CHOST@"
29 #-- Compiler and Linker Flags
30 #CFLAGS="-O2 -pipe"
31 #CXXFLAGS="-O2 -pipe"
32 #LDFLAGS=""
33 #-- Make Flags: change this for DistCC/SMP systems
34 #MAKEFLAGS="-j2"
36 #########################################################################
37 # BUILD ENVIRONMENT
38 #########################################################################
40 # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
41 #  A negated environment option will do the opposite of the comments below.
43 #-- fakeroot: Allow building packages as a non-root user
44 #-- distcc:   Use the Distributed C/C++/ObjC compiler
45 #-- color:    Colorize output messages
46 #-- ccache:   Use ccache to cache compilation
47 #-- check:    Run the check() function if present in the PKGBUILD
48 #-- sign:     Generate PGP signature file
50 BUILDENV=(fakeroot !distcc color !ccache check !sign)
52 #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
53 #-- specify a space-delimited list of hosts running in the DistCC cluster.
54 #DISTCC_HOSTS=""
56 #-- Specify a directory for package building.
57 #BUILDDIR=/tmp/makepkg
59 #########################################################################
60 # GLOBAL PACKAGE OPTIONS
61 #   These are default values for the options=() settings
62 #########################################################################
64 # Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
65 #  A negated option will do the opposite of the comments below.
67 #-- strip:     Strip symbols from binaries/libraries
68 #-- docs:      Save doc directories specified by DOC_DIRS
69 #-- libtool:   Leave libtool (.la) files in packages
70 #-- emptydirs: Leave empty directories in packages
71 #-- zipman:    Compress manual (man and info) pages in MAN_DIRS with gzip
72 #-- purge:     Remove files specified by PURGE_TARGETS
73 #-- upx:       Compress binary executable files using UPX
75 OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
77 #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
78 INTEGRITY_CHECK=(md5)
79 #-- Options to be used when stripping binaries. See `man strip' for details.
80 STRIP_BINARIES="@STRIP_BINARIES@"
81 #-- Options to be used when stripping shared libraries. See `man strip' for details.
82 STRIP_SHARED="@STRIP_SHARED@"
83 #-- Options to be used when stripping static libraries. See `man strip' for details.
84 STRIP_STATIC="@STRIP_STATIC@"
85 #-- Manual (man and info) directories to compress (if zipman is specified)
86 MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
87 #-- Doc directories to remove (if !docs is specified)
88 DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
89 #-- Files to be removed from all packages (if purge is specified)
90 PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
92 #########################################################################
93 # PACKAGE OUTPUT
94 #########################################################################
96 # Default: put built package and cached source in build directory
98 #-- Destination: specify a fixed directory where all packages will be placed
99 #PKGDEST=/home/packages
100 #-- Source cache: specify a fixed directory where source files will be cached
101 #SRCDEST=/home/sources
102 #-- Source packages: specify a fixed directory where all src packages will be placed
103 #SRCPKGDEST=/home/srcpackages
104 #-- Packager: name/email of the person or organization building packages
105 #PACKAGER="John Doe <john@doe.com>"
106 #-- Specify a key to use for package signing
107 #GPGKEY=""
109 #########################################################################
110 # EXTENSION DEFAULTS
111 #########################################################################
113 # WARNING: Do NOT modify these variables unless you know what you are
114 #          doing.
116 PKGEXT='@PKGEXT@'
117 SRCEXT='@SRCEXT@'
119 # vim: set ft=sh ts=2 sw=2 et: