diff --git a/Creating-Packages.md b/Creating-Packages.md new file mode 100644 index 0000000..16ca7ad --- /dev/null +++ b/Creating-Packages.md @@ -0,0 +1,23 @@ +Creating packages should be fairly straightforward. + +Before you begin, this guide assumes you have `gpc` installed. + +First, obtain the source tree of the program you wish to package. + +Next, import the Glacier package template: + + `$ wget https://git.everestlinux.org/EverestLinux/glacier-pkg-template/raw/branch/main/template.tar.gz && tar -xvf template.tar.gz && mv template/* . && rmdir template` + +Edit the `pkginfo.json` file accordingly. + +Edit the `INSTALL.sh`, `UPDATE.sh`, and `REMOVE.sh` files. Each should outline the commands needed for each operation. + +Ensure the timestamp file is correct. + +From outside the working directory, run: + + `$ gpc check package_name` + +If all tests return as successful, run: + + `$ gpc mkpkg package_name` \ No newline at end of file