<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Christoph</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Christoph"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Christoph"/>
	<updated>2026-05-04T05:38:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Include:Abuild&amp;diff=20121</id>
		<title>Include:Abuild</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Include:Abuild&amp;diff=20121"/>
		<updated>2021-08-25T17:25:54Z</updated>

		<summary type="html">&lt;p&gt;Christoph: abuild -R is unsupported now&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To build a package, &amp;lt;tt&amp;gt;abuild&amp;lt;/tt&amp;gt; is used. Besides the package building functionality, options for other package maintainance tasks are also provided.&lt;br /&gt;
&lt;br /&gt;
If you just want to build a package from an [[APKBUILD Reference|APKBUILD]] file, only those two command are needed.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|abuild checksum &amp;amp;&amp;amp; abuild -r}}&lt;br /&gt;
&lt;br /&gt;
To use the command above, you have to be in the &amp;lt;code&amp;gt;abuild&amp;lt;/code&amp;gt; group.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below all options and commands for &amp;lt;tt&amp;gt;abuild&amp;lt;/tt&amp;gt; are listed.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|&amp;lt;nowiki&amp;gt;abuild [options] [-P REPODEST] [-s SRCDEST] [-D DESCRIPTION] [cmd] ...&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;abuild options&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;-A&#039;&#039;&#039;  Print CARCH and exit                                                                                                                                                   &lt;br /&gt;
* &#039;&#039;&#039;-c&#039;&#039;&#039;  Enable colored output&lt;br /&gt;
* &#039;&#039;&#039;-d&#039;&#039;&#039;  Disable dependency checking&lt;br /&gt;
* &#039;&#039;&#039;-D&#039;&#039;&#039;  Set APKINDEX description (default: $repo $(git describe))&lt;br /&gt;
* &#039;&#039;&#039;-f&#039;&#039;&#039;  Force specified cmd (skip checks: apk up to date, arch, libc)&lt;br /&gt;
* &#039;&#039;&#039;-F&#039;&#039;&#039;  Force run as root&lt;br /&gt;
* &#039;&#039;&#039;-h&#039;&#039;&#039;  Show this help&lt;br /&gt;
* &#039;&#039;&#039;-i&#039;&#039;&#039;  Install PKG after successful build&lt;br /&gt;
* &#039;&#039;&#039;-k&#039;&#039;&#039;  Keep built packages, even if APKBUILD or sources are newer&lt;br /&gt;
* &#039;&#039;&#039;-K&#039;&#039;&#039;  Keep buildtime temp dirs and files (srcdir/pkgdir/deps)&lt;br /&gt;
* &#039;&#039;&#039;-m&#039;&#039;&#039;  Disable colors (monochrome)&lt;br /&gt;
* &#039;&#039;&#039;-P&#039;&#039;&#039;  Set REPODEST as the repository location for created packages&lt;br /&gt;
* &#039;&#039;&#039;-q&#039;&#039;&#039;  Quiet&lt;br /&gt;
* &#039;&#039;&#039;-r&#039;&#039;&#039;  Install missing dependencies from system repository (using sudo)&lt;br /&gt;
* &#039;&#039;&#039;-s&#039;&#039;&#039;  Set source package destination directory&lt;br /&gt;
* &#039;&#039;&#039;-u&#039;&#039;&#039;  Recursively build and upgrade all dependencies (using sudo)&lt;br /&gt;
* &#039;&#039;&#039;-v&#039;&#039;&#039;  Verbose: show every command as it is run (very noisy)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;abuild commands&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;build&#039;&#039;&#039;       Compile and install package into $pkgdir&lt;br /&gt;
* &#039;&#039;&#039;check&#039;&#039;&#039;       Run any defined tests concerning the package&lt;br /&gt;
* &#039;&#039;&#039;checksum&#039;&#039;&#039;    Generate checksum to be included in APKBUILD&lt;br /&gt;
* &#039;&#039;&#039;clean&#039;&#039;&#039;       Remove temp build and install dirs&lt;br /&gt;
* &#039;&#039;&#039;cleancache&#039;&#039;&#039;  Remove downloaded files from $SRCDEST&lt;br /&gt;
* &#039;&#039;&#039;cleanoldpkg&#039;&#039;&#039; Remove binary packages except current version&lt;br /&gt;
* &#039;&#039;&#039;cleanpkg&#039;&#039;&#039;    Remove already built binary and source package&lt;br /&gt;
* &#039;&#039;&#039;deps&#039;&#039;&#039;        Install packages listed in makedepends and depends&lt;br /&gt;
* &#039;&#039;&#039;fetch&#039;&#039;&#039;       Fetch sources to $SRCDEST and verify checksums&lt;br /&gt;
* &#039;&#039;&#039;index&#039;&#039;&#039;       Regenerate indexes in $REPODEST&lt;br /&gt;
* &#039;&#039;&#039;listpkg&#039;&#039;&#039;     List target packages&lt;br /&gt;
* &#039;&#039;&#039;package&#039;&#039;&#039;     Create package in $PKGDEST&lt;br /&gt;
* &#039;&#039;&#039;prepare&#039;&#039;&#039;     Apply patches&lt;br /&gt;
* &#039;&#039;&#039;rootbld&#039;&#039;&#039;     Build package in clean chroot&lt;br /&gt;
* &#039;&#039;&#039;rootpkg&#039;&#039;&#039;     Run &#039;package&#039;, the split functions and create apks as fakeroot&lt;br /&gt;
* &#039;&#039;&#039;sanitycheck&#039;&#039;&#039; Basic sanity check of APKBUILD&lt;br /&gt;
* &#039;&#039;&#039;snapshot&#039;&#039;&#039;    Create a $giturl or $svnurl snapshot and upload to $disturl&lt;br /&gt;
* &#039;&#039;&#039;sourcecheck&#039;&#039;&#039; Check if remote source package exists upstream&lt;br /&gt;
* &#039;&#039;&#039;srcpkg&#039;&#039;&#039;      Make a source package&lt;br /&gt;
* &#039;&#039;&#039;undeps&#039;&#039;&#039;      Uninstall packages listed in makedepends and depends&lt;br /&gt;
* &#039;&#039;&#039;unpack&#039;&#039;&#039;      Unpack sources to $srcdir&lt;br /&gt;
* &#039;&#039;&#039;up2date&#039;&#039;&#039;     Compare target and sources dates&lt;br /&gt;
* &#039;&#039;&#039;verify&#039;&#039;&#039;      Verify checksums &lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Abuild and Helpers]]&lt;br /&gt;
&lt;br /&gt;
[[category: Package Manager]]&lt;/div&gt;</summary>
		<author><name>Christoph</name></author>
	</entry>
</feed>