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
|
[ -z "$action" -a -z "$pkg" ] && return 1
|
||||||
|
|
||||||
case "$action" in
|
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_prepare || return $?
|
||||||
chroot_init || return $?
|
chroot_init || return $?
|
||||||
chroot_sync_repos || return $?
|
chroot_sync_repos || return $?
|
||||||
|
|
|
@ -23,18 +23,12 @@ Targets: (only one may be specified)
|
||||||
build <pkgname>
|
build <pkgname>
|
||||||
Build package source (fetch + extract + configure + build).
|
Build package source (fetch + extract + configure + build).
|
||||||
|
|
||||||
build-pkg <pkgname>
|
|
||||||
Build binary package for <pkgname> and all required dependencies.
|
|
||||||
|
|
||||||
chroot
|
chroot
|
||||||
Enter to the chroot in <masterdir>.
|
Enter to the chroot in <masterdir>.
|
||||||
|
|
||||||
clean <pkgname>
|
clean <pkgname>
|
||||||
Remove <pkgname> build directory.
|
Remove <pkgname> build directory.
|
||||||
|
|
||||||
remove-autodeps
|
|
||||||
Removes all package dependencies installed automatically.
|
|
||||||
|
|
||||||
configure <pkgname>
|
configure <pkgname>
|
||||||
Configure a package (fetch + extract + configure).
|
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
|
Install target package into <destdir> but not building the binary package
|
||||||
and not removing build directory for inspection purposes.
|
and not removing build directory for inspection purposes.
|
||||||
|
|
||||||
|
pkg <pkgname>
|
||||||
|
Build binary package for <pkgname> and all required dependencies.
|
||||||
|
|
||||||
remove <pkgname>
|
remove <pkgname>
|
||||||
Remove target package from <destdir>. If <pkgname>-<version> is not matched
|
Remove target package from <destdir>. If <pkgname>-<version> is not matched
|
||||||
from build template nothing is removed.
|
from build template nothing is removed.
|
||||||
|
|
||||||
|
remove-autodeps
|
||||||
|
Removes all package dependencies that were installed automatically.
|
||||||
|
|
||||||
show <pkgname>
|
show <pkgname>
|
||||||
Show information for the specified package.
|
Show information for the specified package.
|
||||||
|
|
||||||
|
@ -528,7 +528,7 @@ remove-autodeps)
|
||||||
remove_pkg_autodeps
|
remove_pkg_autodeps
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
fetch|extract|build|configure|install|install-destdir|build-pkg)
|
fetch|extract|build|configure|install|install-destdir|pkg|build-pkg)
|
||||||
BEGIN_INSTALL=1
|
BEGIN_INSTALL=1
|
||||||
read_pkg
|
read_pkg
|
||||||
if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then
|
if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then
|
||||||
|
|
Loading…
Reference in New Issue