~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always call post-extract step in srcdir
[termux-packages]
/
build-package.sh
diff --git
a/build-package.sh
b/build-package.sh
index
4c81061
..
91fdd59
100755
(executable)
--- a/
build-package.sh
+++ b/
build-package.sh
@@
-374,6
+374,7
@@
termux_step_extract_package () {
}
# Hook for packages to act just after the package has been extracted.
}
# Hook for packages to act just after the package has been extracted.
+# Invoked in $TERMUX_PKG_SRCDIR.
termux_step_post_extract_package () {
return
}
termux_step_post_extract_package () {
return
}
@@
-895,6
+896,7
@@
termux_step_setup_variables
termux_step_handle_buildarch
termux_step_start_build
termux_step_extract_package
termux_step_handle_buildarch
termux_step_start_build
termux_step_extract_package
+cd "$TERMUX_PKG_SRCDIR"
termux_step_post_extract_package
termux_step_handle_hostbuild
termux_step_setup_toolchain
termux_step_post_extract_package
termux_step_handle_hostbuild
termux_step_setup_toolchain