Fredrik Fornwall
7 years ago
1 changed files with 9 additions and 4 deletions
@ -1,8 +1,13 @@ |
|||
#!/bin/sh |
|||
#!/bin/bash |
|||
# list-packages.sh - tool to list all package with home pages and descriptions |
|||
|
|||
show_package() { |
|||
. $1/build.sh |
|||
local pkg=`basename $1` |
|||
echo "$pkg($TERMUX_PKG_VERSION): $TERMUX_PKG_HOMEPAGE" |
|||
echo " $TERMUX_PKG_DESCRIPTION" |
|||
} |
|||
|
|||
for path in packages/*; do |
|||
export path |
|||
export pkg=`basename $path` |
|||
bash -c '. $path/build.sh; echo "$pkg($TERMUX_PKG_VERSION): $TERMUX_PKG_HOMEPAGE"; echo " $TERMUX_PKG_DESCRIPTION"' |
|||
( show_package $path ) |
|||
done |
|||
|
Loading…
Reference in new issue