![](https://secure.gravatar.com/avatar/9710f6be74c5777b5725293e8d3059c2.jpg?s=120&d=mm&r=g)
Not sure why there isn't an option for this? diff --git a/pkgmk.in b/pkgmk.in index 1ac4614..7eeee68 100755 --- a/pkgmk.in +++ b/pkgmk.in @@ -517,6 +517,8 @@ parse_options() { -do|--download-only) PKGMK_DOWNLOAD="yes" PKGMK_DOWNLOAD_ONLY="yes" ;; + -e |--extract-only) + PKGMK_EXTRACT_ONLY="yes";; -utd|--up-to-date) PKGMK_UP_TO_DATE="yes" ;; -uf|--update-footprint) @@ -642,6 +644,11 @@ main() { exit 0 fi + if ["$PKGMK_EXTRACT_ONLY" = "yes" ]; then + unpack_source + exit 0 + fi + if [ "$PKGMK_UP_TO_DATE" = "yes" ]; then if [ "`build_needed`" = "yes" ]; then info "Package '$TARGET' is not up to date." -- Lucas Hazel <lucas@die.net.au> ================================================= "Clothes make the man. Naked men are rarely taken seriously, or given employment." =================================================
participants (1)
-
Lucas Hazel