summaryrefslogtreecommitdiffstats
path: root/newapkbuild.in
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-20 15:16:48 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-23 00:09:06 +0200
commit948fedc5f7d1c57a5cc172778818c38ed97d134d (patch)
tree22312603ea7c1a37738db7b9f3969a46740afffd /newapkbuild.in
parente8508f7b187ad23ff6b52dfbe0db0ac9d8e18fdf (diff)
downloadabuild-948fedc5f7d1c57a5cc172778818c38ed97d134d.tar.bz2
abuild-948fedc5f7d1c57a5cc172778818c38ed97d134d.tar.xz
indent heredocs when possible
Diffstat (limited to 'newapkbuild.in')
-rw-r--r--newapkbuild.in38
1 files changed, 19 insertions, 19 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index 7dbf615..c021db5 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -286,25 +286,25 @@ __EOF__
}
usage() {
- cat >&2 <<__EOF__
-$program $program_version - generate a new APKBUILD
-Usage: $program [-cfh] [-d DESC] [-l LICENSE] [-n NAME] [-u URL]
- PKGNAME[-PKGVER]|SRCURL
-Options:
- -n Set package name to NAME
- -d Set package description (pkgdesc) to DESC
- -l Set package license to LICENSE
- -u Set package URL
- -a Create autotools (use ./configure ...)
- -C Create CMake pakckage (Assume cmake/ is there)
- -p Create perl package (Assume Makefile.PL is there)
- -y Create python package (Assume setup.py is there)
- -s Use sourceforge source URL
- -c Copy a sample init.d, conf.d, and install script to new directory
- -f Force even if directory already exist
- -h Show this help
-
-__EOF__
+ cat >&2 <<-__EOF__
+ $program $program_version - generate a new APKBUILD
+ Usage: $program [-cfh] [-d DESC] [-l LICENSE] [-n NAME] [-u URL]
+ PKGNAME[-PKGVER]|SRCURL
+ Options:
+ -n Set package name to NAME
+ -d Set package description (pkgdesc) to DESC
+ -l Set package license to LICENSE
+ -u Set package URL
+ -a Create autotools (use ./configure ...)
+ -C Create CMake pakckage (Assume cmake/ is there)
+ -p Create perl package (Assume Makefile.PL is there)
+ -y Create python package (Assume setup.py is there)
+ -s Use sourceforge source URL
+ -c Copy a sample init.d, conf.d, and install script to new directory
+ -f Force even if directory already exist
+ -h Show this help
+
+ __EOF__
}
while getopts "acd:fhl:n:pyu:s" opt; do