Create glacier.md

This commit is contained in:
everest 2022-03-10 13:52:05 +00:00 committed by GitHub
parent 03c262acb3
commit b230798266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
docs/glacier.md Normal file
View File

@ -0,0 +1,24 @@
Glacier is a simple package manager written in Shell.
It uses wget as a backend to fetch tarballs from the package repository.
It saves package information files to /etc/glacier/pkginfo
### Packaging
Packages should be formatted as `tar.gz` archives, and should contain the following:
- The package's executable
- 3 instruction scripts written in Shell, INSTALL.sh, UPDATE.sh, and REMOVE.sh
- package_name-pkginfo.json, containing the following:
```
{
"package_name": "NAME HERE",
"package_version": "VERSION HERE",
"package_description": "DESCRIPTION HERE",
"src_tree_size": "SIZE OF SOURCE TREE HERE",
"exec_size": "EXECUTABLE SIZE HERE",
"license": "LICENSE NAME HERE",
}
```
All packages should be uploaded to https://github.com/everest-linux/glacier-pkgs by adding the package tarball to the pkgs folder, and submitting a pull request.