Jump to: navigation, search

Create a package

288 bytes added, 15:40, 30 November 2017
Packaging git commits: document how to put $_commit in the source filename
* <code>pkgver</code>: We use the following format: <code>$lastrelease_gitYYYYMMDD</code>, e.g. <code>1.0_git20171101</code> (that makes it easy to see how old the commit is and <code>apk</code> is able to upgrade the package properly when the next release, e.g. <code>1.1</code>, comes out)
* Save the git commit in a variable <code>_commit=....</code> and use it throughout the <code>APKBUILD</code> (e.g. in the <code>builddir</code>), so it's easy to update it.
* The [ <code>source</code>] should be saved with the <code>$_commit</code> in the filename. For GitHub links, this means:
=== Porting packages from Arch Linux ===

Navigation menu