#!/bin/sh -e arch="$(apk --print-arch)" . /etc/abuild.conf . /etc/qsign.conf : ${repos:="main community testing"} for repo in $repos; do cd "$REPODEST/$repo/$arch" apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz abuild-sign APKINDEX.tar.gz done