diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-02-16 01:19:39 -0600 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-02-16 01:19:39 -0600 |
commit | 021b01e2d9d5f7abcb015926ac774a0be3cc8be2 (patch) | |
tree | a756e2af9b3d86983326ce9de580e953ec25fa80 /paru/.config/pacman/makepkg.conf | |
parent | ebd6575add3d72ffbfe2fbc28ecb6c2543be5a97 (diff) |
feat(paru): building in chroot and local repo
Diffstat (limited to 'paru/.config/pacman/makepkg.conf')
-rw-r--r-- | paru/.config/pacman/makepkg.conf | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/paru/.config/pacman/makepkg.conf b/paru/.config/pacman/makepkg.conf new file mode 100644 index 0000000..5934372 --- /dev/null +++ b/paru/.config/pacman/makepkg.conf @@ -0,0 +1,59 @@ +#!/hint/bash +# shellcheck disable=2034 + +######################################################################### +# ARCHITECTURE, COMPILE FLAGS +######################################################################### +# +#-- Compiler and Linker Flags +CFLAGS="-march=native -O2 -pipe -fno-plt -fexceptions \ + -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ + -fstack-clash-protection -fcf-protection" +RUSTFLAGS="-C opt-level=2 -C target-cpu=native" + +#-- Make Flags: change this for DistCC/SMP systems +MAKEFLAGS="-j$(nproc)" + +######################################################################### +# BUILD ENVIRONMENT +######################################################################### +# +# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign) +# A negated environment option will do the opposite of the comments below. +# +#-- distcc: Use the Distributed C/C++/ObjC compiler +#-- color: Colorize output messages +#-- ccache: Use ccache to cache compilation +#-- check: Run the check() function if present in the PKGBUILD +#-- sign: Generate PGP signature file +# +BUILDENV=(!distcc color !ccache check sign) +# +#-- Specify a directory for package building. +#BUILDDIR=/tmp/makepkg + +######################################################################### +# PACKAGE OUTPUT +######################################################################### +# +# Default: put built package and cached source in build directory +# +#-- Destination: specify a fixed directory where all packages will be placed +#PKGDEST=/home/packages +#-- Source cache: specify a fixed directory where source files will be cached +#SRCDEST=/home/sources +#-- Source packages: specify a fixed directory where all src packages will be placed +#SRCPKGDEST=/home/srcpackages +#-- Log files: specify a fixed directory where all log files will be placed +#LOGDEST=/home/makepkglogs +#-- Packager: name/email of the person or organization building packages +PACKAGER="Toby Vincent <tobyv@tobyvin.dev>" +#-- Specify a key to use for package signing +GPGKEY="8FB8C9AECB8208AB982C946AA0876F29023F43AF" + +######################################################################### +# COMPRESSION DEFAULTS +######################################################################### +# +COMPRESSXZ=(xz -c -z --threads=0 -) +# vim: set ft=sh ts=2 sw=2 et: |