readme (1443B)
1 abuild recipe guidance 2 ====================== 3 4 - please read all availabe *.readme files 5 6 abuild recipe tree 7 ------------------ 8 name - directory name, must be same as 'name' variable in abuild 9 |- abuild - package recipe (required) 10 |- preinstall - pre installation script (optional) 11 |- postinstall - post installation script (optional) 12 |- depends - dependencies list, one package per line (optional) 13 |- .checksum - source's b3sum, auto generated if not exist, can be manually generated using 'apkg -g' 14 \- .files - packages file list, will be generated after packaging, can be manually generated using 'apkg -k' 15 16 building package 17 ---------------- 18 19 - run 'apkg' inside package recipe directory. 20 or 21 - run 'apkg <package name>' if package recipe is created inside APKG_REPO directory (you can run 'apkg -p <package name>' to 22 print <package name>'s path if its in APKG_REPO path). 23 24 installing package 25 ------------------ 26 27 - run 'apkg -i' or 'apkg -i <package name>' (same case as above). 28 or 29 - run 'spm -i <path to prebuilt package file>' directly (installing this way will not execute pre/postinstall script and will 30 not trigger system database updates, you recomended to run 'apkg -t' afterwards) 31 32 NOTE: 33 - 'apkg -t' will update font cache, mime database, desktop database, gtkimodules, glib schema, giomodules and gdkpixbuf cache. 34 - this trigger will automatically detected on which packages need to run.