2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

docs: update

This commit is contained in:
Dylan Araps 2019-05-10 19:58:35 +03:00
parent 22bbba417a
commit 5acca0e9cf

View File

@ -7,7 +7,7 @@ Each Package is split into multiple files.
```sh
zlib/ # Package name.
├─ build # Build script.
├─ depends # Dependencies (one per line).
├─ depends # Dependencies (one per line) (optional).
├─ sources # Sources (one per line).
├─ version # Package version.
@ -16,10 +16,6 @@ zlib/ # Package name.
├─ manifest # The built package's files and directories.
├─ checksums # The checksums for the source files.
# Optional files.
├─ post_install # The script to run after install.
```
When a built package is installed, this entire directory tree is copied to `/var/db/puke` where it becomes a database entry. Listing the dependencies for a package is a simple as printing the contents of the `depends` file. Searching for which package owns a file is as simple as checking each `manifest` file.
@ -39,7 +35,7 @@ done < depends
- [x] Checksums.
- [x] Package installation.
- [x] Package listing.
- [ ] Package removal.
- [x] Package removal.
- [x] Package dependencies.
- [x] Source extraction.
- [x] `tar.*`