i did intend to use pkg at first, however, after some experimenting apk turned out to be the better option (there are things pkg still doesn't support - such as version constraints, getting it to work on musl is a fair amount of patching, its shlib scanning is semi-broken on Linux, and its repo indexing is insufficient for my purposes)