summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--locale/en_US/opkbuild.sh4
-rw-r--r--src/opkbuild.sh7
2 files changed, 9 insertions, 2 deletions
diff --git a/locale/en_US/opkbuild.sh b/locale/en_US/opkbuild.sh
index d5f826a..4ea2c68 100644
--- a/locale/en_US/opkbuild.sh
+++ b/locale/en_US/opkbuild.sh
@@ -50,3 +50,7 @@ Written by P. J. McDermott.'
msg_opkbuild_bad_opt='Invalid option "%s"'
msg_opkbuild_uid0_cmd_not_found='UID 0 command "%s" not found'
msg_opkbuild_uid0_cmd_bad_uid='UID 0 command "%s" doesn'\''t give UID 0'
+msg_opkbuild_setup_arch_plat='Detecting architecture and platform...'
+msg_opkbuild_make_work_area='Making work area...'
+msg_opkbuild_parse_package_metadata='Parsing package metadata...'
+msg_opkbuild_build_source='Building source package...'
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index bb2521b..6efa969 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -47,15 +47,18 @@ main()
test_uid0_cmd
+ ob_info "$(ob_get_msg 'setup_arch_plat')"
setup_arch_plat
- ob_init_package '.'
-
+ ob_info "$(ob_get_msg 'make_work_area')"
mkdir -p 'tmp'
cd 'tmp'
+ ob_info "$(ob_get_msg 'parse_package_metadata')"
+ ob_init_package '..'
ob_parse_package_metadata -c '.opkbuild.cache'
+ ob_info "$(ob_get_msg 'build_source')"
build_source
ob-checkbuilddeps