solus-packages/common/Legacy/Scripts/README.md
Bryan T. Meyers 69491ad3e4 common: General cleanup and fixes
- Created Legacy directory for known unused scripts
 - Moved known unused scripts to Legacy
 - Moved legacy docs to Legacy
 - Moved legacy Templates to Legacy
 - Fixed sync_licenses.sh script
 - Added packages, sync-licenses, and stateless to Makefile
 - Added switch_repo_domains to Makefile.toplevel and Makefile.common
 - Added new script for updateing stateless report (STATELESSNESS)
2020-02-20 16:28:30 -05:00

1 KiB

SolusOS Package Helper Scripts

These scripts are really simple and will help you to create PiSi packages for SolusOS much faster.

Creating a package

mkdir PKGNAME
cd PKGNAME
auto_package.py $URLOFPACKAGE

Two files should be created in the current directory, the pspec.xml and actions.py Customise to your needs, and fill in the blanks. A good practice is to fist build the package without the sections complete, and run "lspisi" against the .pisi package, and then fill in the 's :) You can save time by doing:

pisi build pspec.xml --package

Completing the dependencies

This one is real simple. It outputs all of the binary package dependencies it can find. It will not find all! But it helps :) It will also attempt to add the relevant -devel build-deps.

dep_check.py name_of_installed_pisi_package

Notes

You should add this Scripts directory to your path for ease-of-use :)

Feel free to report bugs on Maniphest