diff --git a/list-packages-html.sh b/list-packages-html.sh new file mode 100755 index 000000000..7d49e3fe9 --- /dev/null +++ b/list-packages-html.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# list-packages.sh - tool to list all package with home pages and descriptions + +echo "Termux packages" +echo "

This is a list of packages available in Termux.

" + +for path in packages/*; do + export path + export pkg=`basename $path` + bash -c '. $path/build.sh; echo -n "
  • $pkg"; echo " - $TERMUX_PKG_DESCRIPTION
  • "' +done + +echo ""