Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
abuild
Commits
febda24d
Commit
febda24d
authored
Sep 25, 2014
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: use cat <<EOF instead of tons of echo for help text
no code changes
parent
9842fbe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
43 deletions
+45
-43
abuild.in
abuild.in
+45
-43
No files found.
abuild.in
View file @
febda24d
...
...
@@ -1886,49 +1886,51 @@ snapshot() {
usage
()
{
echo
"$program $program_version"
echo
"usage:
$program
[options] [-i PKG] [-P REPODEST] [-p PKGDEST]"
echo
" [-s SRCDEST] [cmd] ..."
echo
"
$program
[-c] -n PKGNAME[-PKGVER]"
echo
"Options:"
echo
" -A Print CARCH and exit"
echo
" -c Enable colored output"
echo
" -d Disable dependency checking"
echo
" -f Force specified cmd, even if they are already done"
echo
" -F Force run as root"
echo
" -h Show this help"
echo
" -i Install PKG after successful build"
echo
" -k Keep built packages, even if APKBUILD or sources are newer"
echo
" -m Disable colors (monochrome)"
echo
" -p Set package destination directory"
echo
" -P Set PKGDEST to REPODEST/<repo>/
\$
CARCH, where repo is the parents dir name"
echo
" -q Quiet"
echo
" -r Install missing dependencies from system repository (using sudo)"
echo
" -R Recursively build and install missing dependencies (using sudo)"
echo
" -s Set source package destination directory"
echo
" -u Recursively build and upgrade all dependencies (using sudo)"
echo
""
echo
"Commands:"
echo
" checksum Generate checksum to be included in APKBUILD"
echo
" fetch Fetch sources to
\$
SRCDEST and verify checksums"
echo
" sanitycheck Basic sanity check of APKBUILD"
echo
" verify Verify checksums"
echo
" unpack Unpack sources to
\$
srcdir"
echo
" prepare Apply patches"
echo
" build Compile and install package into
\$
pkgdir"
echo
" listpkg List target packages"
echo
" package Create package in
\$
PKGDEST"
echo
" rootpkg Run 'package', the split functions and create apks as fakeroot"
echo
" clean Remove temp build and install dirs"
echo
" cleanoldpkg Remove binary packages except current version"
echo
" cleanpkg Remove already built binary and source package"
echo
" cleancache Remove downloaded files from
\$
SRCDEST"
echo
" srcpkg Make a source package"
echo
" sourcecheck Check if remote source package exists upstream"
echo
" up2date Compare target and sources dates"
echo
" deps Install packages listed in makedepends and depends"
echo
" undeps Uninstall packages listed in makedepends and depends"
echo
" snapshot Create a
\$
giturl or
\$
svnurl snapshot and upload to
\$
disturl"
echo
""
cat
<<
EOF
usage
:
$
program
[
options
]
[-
i
PKG
]
[-
P
REPODEST
]
[-
p
PKGDEST
]
[-
s
SRCDEST
]
[
cmd
]
...
$
program
[-
c
]
-
n
PKGNAME
[-
PKGVER
]
Options
:
-
A
Print
CARCH
and
exit
-
c
Enable
colored
output
-
d
Disable
dependency
checking
-
f
Force
specified
cmd
,
even
if
they
are
already
done
-
F
Force
run
as
root
-
h
Show
this
help
-
i
Install
PKG
after
successful
build
-
k
Keep
built
packages
,
even
if
APKBUILD
or
sources
are
newer
-
m
Disable
colors
(
monochrome
)
-
p
Set
package
destination
directory
-
P
Set
PKGDEST
to
REPODEST
/<
repo
>/\$
CARCH
,
where
repo
is
the
parents
dir
name
-
q
Quiet
-
r
Install
missing
dependencies
from
system
repository
(
using
sudo
)
-
R
Recursively
build
and
install
missing
dependencies
(
using
sudo
)
-
s
Set
source
package
destination
directory
-
u
Recursively
build
and
upgrade
all
dependencies
(
using
sudo
)
Commands
:
checksum
Generate
checksum
to
be
included
in
APKBUILD
fetch
Fetch
sources
to
\$
SRCDEST
and
verify
checksums
sanitycheck
Basic
sanity
check
of
APKBUILD
verify
Verify
checksums
unpack
Unpack
sources
to
\$
srcdir
prepare
Apply
patches
build
Compile
and
install
package
into
\$
pkgdir
listpkg
List
target
packages
package
Create
package
in
\$
PKGDEST
rootpkg
Run
'package'
,
the
split
functions
and
create
apks
as
fakeroot
clean
Remove
temp
build
and
install
dirs
cleanoldpkg
Remove
binary
packages
except
current
version
cleanpkg
Remove
already
built
binary
and
source
package
cleancache
Remove
downloaded
files
from
\$
SRCDEST
srcpkg
Make
a
source
package
sourcecheck
Check
if
remote
source
package
exists
upstream
up2date
Compare
target
and
sources
dates
deps
Install
packages
listed
in
makedepends
and
depends
undeps
Uninstall
packages
listed
in
makedepends
and
depends
snapshot
Create
a
\$
giturl
or
\$
svnurl
snapshot
and
upload
to
\$
disturl
EOF
exit
0
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment