Compare commits

...

2 Commits

Author SHA1 Message Date
Nathan Dwarshuis e2c95a66ea ENH update configs 2024-04-21 12:10:04 -04:00
Nathan Dwarshuis bb87615b27 ENH update script by removing doc builder 2024-04-21 12:09:53 -04:00
4 changed files with 15387 additions and 1 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -103,6 +103,7 @@ update_build() {
## - change package name ## - change package name
## - change kernelname ## - change kernelname
## - unindent custom name ## - unindent custom name
## - remove htmldocs make steps (started in 'build' function to speed up package building)
## - add gcc path version variable ## - add gcc path version variable
## - add gcc path to sources ## - add gcc path to sources
## - add gcc patch command in prepare ## - add gcc patch command in prepare
@ -113,6 +114,9 @@ update_build() {
sed -i -z 's/makedepends=([^()]\+)/makedepends=(libelf cpio tar xz)/' \ sed -i -z 's/makedepends=([^()]\+)/makedepends=(libelf cpio tar xz)/' \
"$build_file" "$build_file"
sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \ sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \
-e '/make htmldocs &/d' \
-e '/local pid_docs=\$!/d' \
-e '/wait \"\${pid_docs\}\"/d' \
-e "/^pkgrel=.*/a _gcc_more_v=\'$gcc_patch_version\'" \ -e "/^pkgrel=.*/a _gcc_more_v=\'$gcc_patch_version\'" \
-e "s|source=(|source=($gcc_patch_src\n |" \ -e "s|source=(|source=($gcc_patch_src\n |" \
-e "/localversion\.20-pkgname/d" \ -e "/localversion\.20-pkgname/d" \
@ -159,7 +163,7 @@ done
update_build update_build
cd "$build_dir" || exit cd "$build_dir" || exit
makepkg -s -r -f -i makepkg -s -r -f -i -L
cd .. cd ..
back_up_config back_up_config