Include:Abuild: Difference between revisions

From Alpine Linux
(added back content and removed redirect to this Include page so this can be transcluded)
Tag: Removed redirect
 
(30 intermediate revisions by 14 users not shown)
Line 1: Line 1:
If you just want to build a package from an [[APKBUILD Reference|APKBUILD]] file, only  two command are needed. Both commands operate on an APKBUILD file in the current directory, so you should <code>cd</code> into the directory before running them.


== Package build helpers ==
* <code>abuild checksum</code>: updates the checksums for source files.
* <code>abuild -r</code>: builds the package.


=== abuild-keygen ===
The [https://git.alpinelinux.org/abuild/tree/abuild.1.scd manual page] (available via <code>man abuild</code>) describes all options and commands for <code>abuild</code>.
{{:Abuild-keygen}}
 
=== abuild-sign ===
{{:Abuild-sign}}
=== abuild-tar ===
{{:Abuild-tar}}
 
=== abuild ===
To build a package, <tt>abuild</tt> is used.
 
{{Cmd|abuild checksum}}
 
{{Cmd|abuild -r}}
 
=== abump ===
 
== APKBUILD generation ==
 
=== newapkbuild ===
To create the actual APKBUILD file <tt>newapkbuild</tt> can serve you a template to start with. It will create a directory with the given package name, place an example/template APKBUILD file to the given directory, and fill some variables if those are provided.
 
{{:Newapkbuild}}
 
=== apkbuild-cpan ===
{{:Apkbuild-cpan}}
 
=== apkbuild-pypi ===
{{:Apkbuild-pypi}}
 
=== apkgrel ===
 
=== buildlab ===
More details can be found at the [[Buildlab|buildlab]] page.
 
 
=== buildrepo ===
 
== Misc tools ==
 
=== cmp-apks-iso ===
 
=== devbuild ===
 
=== initramfs-init ===

Latest revision as of 16:55, 13 March 2025

If you just want to build a package from an APKBUILD file, only two command are needed. Both commands operate on an APKBUILD file in the current directory, so you should cd into the directory before running them.

  • abuild checksum: updates the checksums for source files.
  • abuild -r: builds the package.

The manual page (available via man abuild) describes all options and commands for abuild.