It automatically keeps everything tidy on a package repository of APKBUILDs.
Run apkbuilder update to update the Alpine repository. It'll basically fetch from a remote named origin in the branch master.
Run apkbuilder build to rebuild every package or specify a list of packages.
Check COPYING, but it's under the terms of the MIT License.
$ git clone https://git.eletrotupi.com/git/apkbuilder