ENH update script by removing doc builder
This commit is contained in:
parent
377d8a81df
commit
bb87615b27
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue