termux-packages/scripts/list-packages.sh

14 lines
304 B
Bash
Raw Normal View History

2017-12-05 22:36:18 +01:00
#!/bin/bash
2015-06-13 01:03:31 +02:00
# list-packages.sh - tool to list all package with home pages and descriptions
2017-12-05 22:36:18 +01:00
show_package() {
. $1/build.sh
2019-02-12 09:41:30 +01:00
local pkg=$(basename $1)
2017-12-05 22:36:18 +01:00
echo "$pkg($TERMUX_PKG_VERSION): $TERMUX_PKG_HOMEPAGE"
echo " $TERMUX_PKG_DESCRIPTION"
}
for path in packages/*; do
2017-12-05 22:36:18 +01:00
( show_package $path )
done