mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-25 00:12:19 +00:00
newapkbuild: remove default prepare()
Do not add prepare() to new APKBUILDs in the future, as this functionality is superseded by the addition of the default prepare patcher in abuild.
This commit is contained in:
parent
251dce53e1
commit
d1ab7ed40f
@ -224,21 +224,6 @@ __EOF__
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Create the prepare() template
|
||||
cat >>APKBUILD<<__EOF__
|
||||
prepare() {
|
||||
local i
|
||||
cd "\$_builddir"
|
||||
for i in \$source; do
|
||||
case \$i in
|
||||
*.patch) msg \$i; patch -p1 -i "\$srcdir"/\$i || return 1;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
__EOF__
|
||||
|
||||
# Create build() function
|
||||
cat >>APKBUILD<<__EOF__
|
||||
build() {
|
||||
|
Loading…
Reference in New Issue
Block a user