From 0b48da8897c59ded63a0fbe6b9981a9efad53666 Mon Sep 17 00:00:00 2001 From: Matt Jenkins Date: Sun, 21 Sep 2025 13:07:53 +0100 Subject: [PATCH] Added extra about files --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 51c1b53..f7181f6 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,29 @@ These do the actual work of compiling the sofware. Three are essential: * build() - Compile the source * install() - Install it to `${DESTDIR}` +Extra Files +----------- + +As well as the PKGCONF file describing the package, there are a number +of optional extra files that can be included with a package. + +* Patch files - These should be placed in the `patches` directory +within the package, and should be named with a `.patch` extension. They +should be "unified" patch files (created with `diff -u`), and will be +applied to the source code after extraction and before configuration. + +~~* Script files - (not implemented yet). These should be placed in the +`scripts` directory, and referenced in the `PKGCONF` file using the +variables: + + * `PREINSTALL=...` + * `POSTINSTALL=...` + * `CHECKINSTALL=...` + +They will be included in the final package as the relevant script file +entries.~~ + + Compiling a Package -------------------