diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-23 19:59:53 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-29 18:48:45 -0400 |
commit | 1711a5c07c5d35d21f422e59f10c7836953a256e (patch) | |
tree | 55de0bd30542ef91192a57f401b065cf0ed5ce50 /src/fullpkg/fullpkg | |
parent | d11311f66524dd61b4f186bbbc91d0e47b7e4f4d (diff) |
fullpkg: internationalize
Diffstat (limited to 'src/fullpkg/fullpkg')
-rwxr-xr-x | src/fullpkg/fullpkg | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/fullpkg/fullpkg b/src/fullpkg/fullpkg index 7724165..00a9502 100755 --- a/src/fullpkg/fullpkg +++ b/src/fullpkg/fullpkg @@ -4,25 +4,26 @@ # aren't built or need update and then makepkg them in order. usage() { - - echo "cd to a dir containing a PKGBUILD and run:" - echo "$0 [build_dir]" - echo "" - echo "This script will check dependencies, build them if possible " - echo "and stage the packages on it's repo." - echo "" - echo "OPTIONS:" - echo " -h : this message." - echo "" - echo "Wrapper for \`fullpkg-find' and \`fullpkg-build'" - echo "" - exit 1 - + print "Usage: %s [OPTIONS] [BUILD_DIR]" "${0##*/}" + print "A (libre)makepkg wrapper that will also build dependencies" + echo + prose "More directly, it wraps fullpkg-find and fullpkg-build; + fullpkg-find finds the dependencies, and sets them up in + BUILD_DIR; then fullpkg-build builds them." + echo + prose "This script will check dependencies, build them if possible and + stage the packages on its repo." + echo + prose "If no BUILD_DIR is specified, it will create a temporary + directory." + echo + print "Options:" + flag '-h' "Show this message" } while getopts 'h' arg; do case "$arg" in - h) usage ;; + h) usage; exit 0 ;; esac done |