APKBUILD examples

From Alpine Linux

The following APKBUILD examples will assist you in understanding how to create an APKBUILD and provide snippets to use in your own APKBUILD files. Often there are multiple possible solutions for a problem available. If you align your way to solve an issue with an existing solution, make the AKPBUILD files more legible for others and reduce the chance to implement a misbehaviour.

Simple APKBUILD

Subpackages

Special subpackages

Application specific examples