ENH update script by removing doc builder

This commit is contained in:
Nathan Dwarshuis 2024-04-21 12:09:53 -04:00
parent 377d8a81df
commit bb87615b27
1 changed files with 5 additions and 1 deletions

View File

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