Compare commits
2 Commits
37bd85c73f
...
1924c9c64e
Author | SHA1 | Date |
---|---|---|
Nathan Dwarshuis | 1924c9c64e | |
Nathan Dwarshuis | 1d0ddcdbf8 |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -99,6 +99,7 @@ update_build() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## modify the PKGBUILD
|
## modify the PKGBUILD
|
||||||
|
## - remove unnecessary makedeps
|
||||||
## - change package name
|
## - change package name
|
||||||
## - change kernelname
|
## - change kernelname
|
||||||
## - unindent custom name
|
## - unindent custom name
|
||||||
|
@ -109,6 +110,8 @@ update_build() {
|
||||||
## - delete docs build command
|
## - delete docs build command
|
||||||
## - delete package-docs
|
## - delete package-docs
|
||||||
## - remove package-docs from pkgname
|
## - remove package-docs from pkgname
|
||||||
|
sed -i -z 's/makedepends=([^()]\+)/makedepends=(libelf cpio tar xz)/' \
|
||||||
|
"$build_file"
|
||||||
sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \
|
sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \
|
||||||
-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 |" \
|
||||||
|
|
Loading…
Reference in New Issue