diff options
author | Michael Zuo <muh.muhten@gmail.com> | 2016-02-01 17:32:28 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-02-22 14:05:25 +0200 |
commit | d1ab7ed40f5f2acc8ba476a34828cf5000c63550 (patch) | |
tree | 77686cad44a7c1f83256595f8942a7848fcee3c7 /newapkbuild.in | |
parent | 251dce53e1d19d00f2cbc4d3385b2a28b73e7bb9 (diff) | |
download | abuild-d1ab7ed40f5f2acc8ba476a34828cf5000c63550.tar.gz abuild-d1ab7ed40f5f2acc8ba476a34828cf5000c63550.tar.bz2 abuild-d1ab7ed40f5f2acc8ba476a34828cf5000c63550.tar.xz abuild-d1ab7ed40f5f2acc8ba476a34828cf5000c63550.zip |
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.
Diffstat (limited to 'newapkbuild.in')
-rw-r--r-- | newapkbuild.in | 15 |
1 files changed, 0 insertions, 15 deletions
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() { |