From d1ab7ed40f5f2acc8ba476a34828cf5000c63550 Mon Sep 17 00:00:00 2001 From: Michael Zuo Date: Mon, 1 Feb 2016 17:32:28 -0500 Subject: 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. --- newapkbuild.in | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'newapkbuild.in') diff --git a/newapkbuild.in b/newapkbuild.in index a47dcae..64b726b 100644 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -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() { -- cgit v1.2.3-70-g09d2