summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opkbuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 996771c..c6d371f 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -74,6 +74,10 @@ main()
ob_info "$(ob_get_msg 'parse_package_metadata')"
ob_init_package '..'
ob_parse_package_metadata -c '.opkbuild.cache'
+ OB_SOURCE="$(ob_get_source_parameter 'Source')"
+ OB_SOURCE_VERSION="$(ob_get_source_parameter 'Version')"
+ ob_parse_version -u 'OB_SOURCE_VERSION_UPSTREAM' "${OB_SOURCE_VERSION}"
+ OB_BINARY_VERSION="$(ob_get_source_parameter 'Version')"
ob_info "$(ob_get_msg 'build_source')"
build_source