#!/bin/sh . APKBUILD items="$(curl -s "https://release-monitoring.org/api/v2/packages/?name=$pkgname&distribution=Alpine" | jq .total_items)" if [ "$items" = 0 ]; then echo "Package $pkgname is not tracked by Anitya." echo "Add it here: https://release-monitoring.org/" exit 1 fi