You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
439 B
13 lines
439 B
#!/bin/sh
|
|
# list-packages.sh - tool to list all package with home pages and descriptions
|
|
|
|
echo "<html><head><title>Termux packages</title></head><body>"
|
|
echo "<p>This is a list of packages available in Termux.</p>"
|
|
|
|
for path in packages/*; do
|
|
export path
|
|
export pkg=`basename $path`
|
|
bash -c '. $path/build.sh; echo -n "<li><a href=\"$TERMUX_PKG_HOMEPAGE\">$pkg</a>"; echo " - $TERMUX_PKG_DESCRIPTION</li>"'
|
|
done
|
|
|
|
echo "</body></html>"
|
|
|