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:
Michael Zuo 2016-02-01 17:32:28 -05:00 committed by Timo Teräs
parent 251dce53e1
commit d1ab7ed40f

View File

@ -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() {