xbps-src: new target: show-avail and returns 0 if pkg can be built.
This commit is contained in:
parent
6c6a6e5dad
commit
d07d3a72c9
2 changed files with 12 additions and 1 deletions
8
xbps-src
8
xbps-src
|
@ -61,6 +61,10 @@ remove-autodeps
|
|||
show <pkgname>
|
||||
Show information for the specified package.
|
||||
|
||||
show-avail <pkgname>
|
||||
Returns 0 if package can be built for the given architecture,
|
||||
any other error otherwise.
|
||||
|
||||
show-build-deps <pkgname>
|
||||
Show required build dependencies for <pkgname>.
|
||||
|
||||
|
@ -637,6 +641,10 @@ case "$XBPS_TARGET" in
|
|||
read_pkg
|
||||
show_pkg
|
||||
;;
|
||||
show-avail)
|
||||
read_pkg
|
||||
show_avail
|
||||
;;
|
||||
show-files)
|
||||
read_pkg
|
||||
show_pkg_files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue