From 3b7ab34e67ed1484ecf825e53715fa4070d2754f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 23 Oct 2009 16:28:34 +0000 Subject: abuild: implement prepare() prepare is run before build(). this allows uses to do patching before configuring and building in a separate step. --- abuild.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/abuild.in b/abuild.in index 6b99ca2..9e894dc 100755 --- a/abuild.in +++ b/abuild.in @@ -291,6 +291,10 @@ runpart() { } # override those in your build script +prepare() { + : +} + build() { : } @@ -508,7 +512,7 @@ create_apks() { apkcache() { if ! apk_up2date || [ -n "$force" ]; then sanitycheck && builddeps && clean && fetch && unpack \ - && mkusers && rootpkg || return 1 + && prepare && mkusers && rootpkg || return 1 fi local apk -- cgit v1.2.3-60-g2f50