On Fri, Jun 15, 2012 at 11:14:29PM +0100, Mateusz Loskot wrote:
On 15 June 2012 21:17, Mateusz Loskot <mateusz@loskot.net> wrote:
Apart from the mandatory .PKGINFO file
I've just realised, this file is named .PKGINFO whereas all packages use PKGBUILD. Hmm, what am I missing here?
Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
.PKGINFO is "private API". It's generated by makepkg and lists all the metadata that will end up in pacman's DB once the package is installed. You do not need, and should not want, to try and create these manually. A minimal package might only be a PKGBUILD. The install scriptlet (which becomes .INSTALL), and the changelog (which becomes .CHANGELOG) are entirely optional files. Note that the changelog is for the package itself, and has no relation to the upstream source. Lots of details in PKGBUILD(5) and makepkg(8).