Commit d1ab7ed4 authored by Michael Zuo's avatar Michael Zuo Committed by Timo Teräs
Browse files

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.
parent 251dce53
......@@ -224,21 +224,6 @@ __EOF__
# 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;;
# Create build() function
cat >>APKBUILD<<__EOF__
build() {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment