APKBUILD examples: Difference between revisions

From Alpine Linux
 
(13 intermediate revisions by 6 users not shown)
Line 3: Line 3:
== Simple APKBUILD ==
== Simple APKBUILD ==
* [[APKBUILD_examples:Simple|Simple APKBUILD example]]
* [[APKBUILD_examples:Simple|Simple APKBUILD example]]
* [[APKBUILD_meta:Meta|Meta APKBUILD example]]
* [[APKBUILD_examples:Permissions|Fixing permissions in APKBUILD]]
* [[APKBUILD_examples:Git_checkout|Git checkout APKBUILD]]


== Subpackages ==
== Subpackages ==
* [[APKBUILD examples:Subpackages|Subpackages]]
* [[APKBUILD examples:Subpackages|Subpackages]]
* [[APKBUILD_examples:Multiple_Subpackages|Multiple Subpackages]]
* [[APKBUILD_examples:Multiple_Subpackages|Multiple subpackages]]


== Special subpackages ==
== Special subpackages ==
* [[APKBUILD_examples:Special_Subpackages_Doc|-doc subpackage]]
* [[APKBUILD_examples:Special_Subpackages_Doc|-doc subpackage]]
* [[APKBUILD_examples:Special_Subpackages_Test|-test subpackage]]
* [[APKBUILD_examples:Special_Subpackages_Test|-test subpackage]]
* [[APKBUILD_examples:Special_Subpackages_Examples|-examples subpackage]]
* [[APKBUILD_examples:Special_Subpackages_Languages|-lang subpackages]]


== Application specific examples ==
== Application specific examples ==
* [[APKBUILD_examples:ACF|ACF]]
* [[APKBUILD_examples:ACF|ACF]]
* [[APKBUILD_examples:JavaScript|JavaScript]]
* [[APKBUILD_examples:Perl|Perl]]
* [[APKBUILD_examples:Perl|Perl]]
* [[APKBUILD_examples:Php|Php]]
* [[APKBUILD_examples:Php|Php]]
* [[APKBUILD_examples:Python|Python]]
* [[APKBUILD_examples:Python|Python]]
* [[APKBUILD_examples:Ruby|Ruby]]
* [[APKBUILD_examples:Ruby|Ruby]]
* [[APKBUILD_examples:Lua|Lua]]
* [[APKBUILD_examples:Go|Go]]
* [[APKBUILD_examples:OCaml|OCaml]]
* [[APKBUILD_examples:Haskell|Haskell]]
* [[APKBUILD_examples:Chicken Scheme|Chicken Scheme]]
* [[APKBUILD_examples:Neovim|Neovim]]
[[Category:Development]]

Latest revision as of 20:16, 16 September 2024

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