Browse Source

Update repology metadata generation

Fix empty dx version and write out empty depends array.
android-5
Fredrik Fornwall 7 years ago
parent
commit
cdf597f4b1
  1. 3
      scripts/generate-repology-metadata.sh

3
scripts/generate-repology-metadata.sh

@ -13,7 +13,6 @@ check_package() { # path
echo " \"description\": \"$DESC\","
echo " \"homepage\": \"$TERMUX_PKG_HOMEPAGE\","
if [ "$TERMUX_PKG_DEPENDS" != "" ]; then
echo -n " \"depends\": ["
FIRST_DEP=yes
for p in ${TERMUX_PKG_DEPENDS//,/ }; do
@ -25,7 +24,6 @@ check_package() { # path
echo -n "\"$p\""
done
echo "],"
fi
if [ "$TERMUX_PKG_SRCURL" != "" ]; then
echo " \"srcurl\": \"$TERMUX_PKG_SRCURL\","
@ -37,6 +35,7 @@ check_package() { # path
export TERMUX_ARCH=aarch64
export TERMUX_NDK_VERSION=17
TERMUX_ANDROID_BUILD_TOOLS_VERSION=27.0.3
echo '['

Loading…
Cancel
Save