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"
|
|
|
|
}
|
|
|
|
|
2015-07-04 14:56:47 +02:00
|
|
|
for path in packages/*; do
|
2017-12-05 22:36:18 +01:00
|
|
|
( show_package $path )
|
2015-07-04 14:56:47 +02:00
|
|
|
done
|