#!/bin/sh curl -s "https://pkgs.alpinelinux.org/contents?file=$1" | awk ' // { print } // { getline; getline; print } ' | sed 's/^ *//; s/<[^>]*>//g; s,/,/,g' | paste - - - - - | grep "${2:-x86}\$"