diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-03-29 16:42:54 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-03-29 16:42:54 -0500 |
commit | 1de2ec3722e63c4a464ad4d112f8892999831982 (patch) | |
tree | 895e9e4d075ca542a3761a1a933ea4fc5453b7b7 /pacman/.config | |
parent | b9905b1b24c59928b49c4d1134b2c1041aed849b (diff) |
feat: add pacmodif to diff files against a package
Diffstat (limited to 'pacman/.config')
-rw-r--r-- | pacman/.config/pacman/makepkg.conf | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/pacman/.config/pacman/makepkg.conf b/pacman/.config/pacman/makepkg.conf new file mode 100644 index 0000000..438acdc --- /dev/null +++ b/pacman/.config/pacman/makepkg.conf @@ -0,0 +1,79 @@ +#!/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 + +######################################################################### +# GLOBAL PACKAGE OPTIONS +# These are default values for the options=() settings +######################################################################### +# +# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto) +# A negated option will do the opposite of the comments below. +# +#-- strip: Strip symbols from binaries/libraries +#-- docs: Save doc directories specified by DOC_DIRS +#-- libtool: Leave libtool (.la) files in packages +#-- staticlibs: Leave static library (.a) files in packages +#-- 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 +#-- debug: Add debugging flags as specified in DEBUG_* variables +#-- lto: Add compile flags for building with link time optimization +# +OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto) + +######################################################################### +# 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: |