xbps-src: 'pkg' target replaces 'build-pkg' but the latter is kept for compat.
This commit is contained in:
parent
59cf26c906
commit
0d953db70b
|
@ -175,7 +175,7 @@ chroot_handler() {
|
|||
[ -z "$action" -a -z "$pkg" ] && return 1
|
||||
|
||||
case "$action" in
|
||||
fetch|extract|build|configure|install|install-destdir|build-pkg|bootstrap-update|chroot)
|
||||
fetch|extract|build|configure|install|install-destdir|pkg|build-pkg|bootstrap-update|chroot)
|
||||
chroot_prepare || return $?
|
||||
chroot_init || return $?
|
||||
chroot_sync_repos || return $?
|
||||
|
|
|
@ -23,18 +23,12 @@ Targets: (only one may be specified)
|
|||
build <pkgname>
|
||||
Build package source (fetch + extract + configure + build).
|
||||
|
||||
build-pkg <pkgname>
|
||||
Build binary package for <pkgname> and all required dependencies.
|
||||
|
||||
chroot
|
||||
Enter to the chroot in <masterdir>.
|
||||
|
||||
clean <pkgname>
|
||||
Remove <pkgname> build directory.
|
||||
|
||||
remove-autodeps
|
||||
Removes all package dependencies installed automatically.
|
||||
|
||||
configure <pkgname>
|
||||
Configure a package (fetch + extract + configure).
|
||||
|
||||
|
@ -49,10 +43,16 @@ Targets: (only one may be specified)
|
|||
Install target package into <destdir> but not building the binary package
|
||||
and not removing build directory for inspection purposes.
|
||||
|
||||
pkg <pkgname>
|
||||
Build binary package for <pkgname> and all required dependencies.
|
||||
|
||||
remove <pkgname>
|
||||
Remove target package from <destdir>. If <pkgname>-<version> is not matched
|
||||
from build template nothing is removed.
|
||||
|
||||
remove-autodeps
|
||||
Removes all package dependencies that were installed automatically.
|
||||
|
||||
show <pkgname>
|
||||
Show information for the specified package.
|
||||
|
||||
|
@ -528,7 +528,7 @@ remove-autodeps)
|
|||
remove_pkg_autodeps
|
||||
fi
|
||||
;;
|
||||
fetch|extract|build|configure|install|install-destdir|build-pkg)
|
||||
fetch|extract|build|configure|install|install-destdir|pkg|build-pkg)
|
||||
BEGIN_INSTALL=1
|
||||
read_pkg
|
||||
if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then
|
||||
|
|
Loading…
Reference in New Issue