MAKEPKG.CONF(5) Pacman MAKEPKG.CONF(5) (NAME) makepkg.conf - makepkg (SYNOPSIS) /etc/makepkg.conf, $XDG_CONFIG_HOME/pacman/makepkg.conf, ~/.makepkg.conf (DESCRIPTION) makepkg makepkg.conf . (source) . . (export) . Makefile . . /etc/makepkg.conf . $XDG_CONFIG_HOME/pacman/makepkg.conf ~/.makepkg.conf ( ) . . (OPTIONS) DLAGENTS=('protocol::/path/to/command [options]' ...) (download agents) URL PKGBUILD(5) . . (escape) . makepkg.conf . %u URL . URL . %o ".part" makepkg . VCSCLIENTS=('protocol::package' ...) . makepkg depends makedepends PKGBUILD . CARCH="carch" "i686" "x86_64" "ppc" . . CHOST="chost" "i686-pc-linux-gnu" . . CPPFLAGS="cppflags" C CFLAGS . CFLAGS="cflags" C. makepkg . : "-march=i686 -O2 -pipe". -mcpu -march . gcc(1) . CXXFLAGS="cxxflags" ++C CFLAGS . RUSTFLAGS="rustflags" Rust CFLAGS. rustc(1) . LDFLAGS="ldflags" (linker). "-Wl,--hash-style=gnu" . ld(1) . LTOFLAGS="ltoflags" (LTO) CFLAGS CXXFLAGS LDFLAGS . "-flto" . MAKEFLAGS="makeflags" (jobs) -j2. make . DEBUG_CFLAGS="debug_cflags" (debugging) CFLAGS . : "-g" . gcc(1) . DEBUG_CXXFLAGS="debug_cxxflags" ++C DEBUG_CFLAGS . DEBUG_RUSTFLAGS="debug_rustflags" RUSTFLAGS . : "-C debuginfo=2" . rustc(1) . BUILDENV=(!distcc !color !ccache check !sign) . "!" . . : distcc C/C++/ObjC . DISTCC_HOSTS . color . ccache ccache (cache) . . !ccache PKGBUILD . check ()check PKGBUILD. --check --nocheck makepkg . sign PGP GnuPG. gpg --detach-sign --use-agent GPG . ".sig" . DISTCC_HOSTS="host1 ..." DistCC DistCC . MAKEFLAGS . BUILDDIR="/path/to/directory" makepkg . . $startdir PKGBUILD . GPGKEY="" GPG (keyring). --key makepkg . OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug) . PKGBUILD . "!" . . : strip (symbols) . . docs . !docs . DOC_DIRS . libtool libtool (.la) . !libtool . staticlibs (.a) . !staticlibs . emptydirs . zipman (man info) gzip. MAN_DIRS . purge PURGE_TARGETS . debug DEBUG_CFLAGS DEBUG_CXXFLAGS buildflags . `strip' . lto (LTO). LTOFLAGS CFLAGS CXXFLAGS LDFLAGS ( "-flto" LTOFLAGS ) . INTEGRITY_CHECK=(check1 ...) . . : ck md5 sha1 sha224 sha256 sha384 sha512 b2. STRIP_BINARIES="--strip-all" . strip(1) . STRIP_SHARED="--strip-unneeded" PIE. strip(1) . STRIP_STATIC="--strip-debug" . strip(1) . MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info} ...) zipman OPTIONS makepkg (man info) . /opt . : . DOC_DIRS=(usr/{,share/}{doc,gtk-doc} ...) !docs OPTIONS makepkg . /opt . : . PURGE_TARGETS=(usr/{,share}/info/dir .podlist *.pod...) purge OPTIONS makepkg . . DBGSRCDIR="/usr/src/debug" strip debug OPTIONS makepkg . . PKGDEST="/path/to/directory" ( PKGBUILD(5)) . . "/home/packages" . SRCDEST="/path/to/directory" . . SRCPKGDEST="/path/to/directory" . . LOGDEST="/path/to/directory" (log) . . PACKAGER="John Doe " . PGP WKD . . COMPRESSGZ="(gzip -c -f -n)", COMPRESSBZ2="(bzip2 -c -f)", COMPRESSXZ="(xz -c -z -)", COMPRESSZST="(zstd -c -z -)", COMPRESSLZO"(lzop -q)", COMPRESSLRZ="(lrzip -q)", COMPRESSLZ4="(lz4 -q)", COMPRESSZ="(compress -c -f)", COMPRESSLZ="(lzip -c -f)" . PKGEXT=".pkg.tar.gz", SRCEXT=".src.tar.gz" . : .tar.gz .tar.bz2 .tar.xz .tar.zst .tar.lzo .tar.lrz .tar.lz4 .tar.lz .tar.Z .tar . PACMAN_AUTH=() pacman root . makepkg sudo(8) su(1) . %c (shell-quoted) . . (AUTHOR) : o Allan McRae o Andrew Gregory o Eli Schwartz o Morgan Adamiec : o Judd Vinet o Aurelien Foret o Aaron Griffin o Dan McGee o Xavier Chantry o Nagy Gabor o Dave Reisner git shortlog -s pacman.git . (REPORTING BUGS) . Pacman Arch Linux . (COPYRIGHT) (C) 2006-2021 Pacman Development Team . (C) 2002-2006 Judd Vinet . . . (SEE ALSO) makepkg(8), pacman(8), PKGBUILD(5) pacman pacman https://archlinux.org/pacman/ . Pacman 6.0.2 2022-11-21 MAKEPKG.CONF(5)