From 7702b15c4ccd839932ad1378cacb7deec67c7d0c Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sun, 22 Dec 2024 03:19:44 +0800 Subject: updated some docs --- doc/readme | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 doc/readme (limited to 'doc/readme') diff --git a/doc/readme b/doc/readme new file mode 100644 index 0000000..86f5970 --- /dev/null +++ b/doc/readme @@ -0,0 +1,34 @@ +abuild recipe guidance +====================== + +- please read all availabe *.readme files + +abuild recipe tree +------------------ +name - directory name, must be same as 'name' variable in abuild + |- abuild - package recipe (required) + |- preinstall - pre installation script (optional) + |- postinstall - post installation script (optional) + |- depends - dependencies list, one package per line (optional) + |- .checksum - source's b3sum, auto generated if not exist, can be manually generated using 'apkg -g' + \- .files - packages file list, will be generated after packaging, can be manually generated using 'apkg -k' + +building package +---------------- + +- run 'apkg' inside package recipe directory. + or +- run 'apkg ' if package recipe is created inside APKG_REPO directory (you can run 'apkg -p ' to + print 's path if its in APKG_REPO path). + +installing package +------------------ + +- run 'apkg -i' or 'apkg -i ' (same case as above). + or +- run 'spm -i ' directly (installing this way will not execute pre/postinstall script and will + not trigger system database updates, you recomended to run 'apkg -t' afterwards) + +NOTE: +- 'apkg -t' will update font cache, mime database, desktop database, gtkimodules, glib schema, giomodules and gdkpixbuf cache. +- this trigger will automatically detected on which packages need to run. -- cgit v1.2.3