diff options
-rw-r--r-- | abuild.in | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -528,8 +528,21 @@ getpkgver() { fi } +default_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 +} + prepare() { - : + default_prepare } build() { |