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 | |
parent | ebd6575add3d72ffbfe2fbc28ecb6c2543be5a97 (diff) |
feat(paru): building in chroot and local repo
Diffstat (limited to 'paru/.config')
-rw-r--r-- | paru/.config/pacman/makepkg.conf | 59 | ||||
-rw-r--r-- | paru/.config/paru/paru.conf | 9 |
2 files changed, 66 insertions, 2 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: diff --git a/paru/.config/paru/paru.conf b/paru/.config/paru/paru.conf index b821ae7..2476655 100644 --- a/paru/.config/paru/paru.conf +++ b/paru/.config/paru/paru.conf @@ -1,6 +1,7 @@ [options] PgpFetch Devel +CleanAfter Provides DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil BottomUp @@ -8,6 +9,10 @@ NewsOnUpgrade CombinedUpgrade SudoLoop SaveChanges +SortBy = popularity +LocalRepo = aur +Chroot -[bin] -GpgFlags = --keyserver=hkp://keyserver.ubuntu.com +[tobyvin] +Path = /home/tobyv/pkg +GenerateSrcinfo |