diff options
author | merakor <cem@ckyln.com> | 2021-04-03 13:28:42 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-04-03 13:28:42 +0000 |
commit | 40d24fb8377f7caec17f249ea8b8fedd8810a0f5 (patch) | |
tree | 527ece10de345adcc643e3bf579ce98de9b09ceb /docs/cpt.org | |
parent | cf6dc9365bde782681e192b5b2fa280bd6034787 (diff) | |
download | cpt-40d24fb8377f7caec17f249ea8b8fedd8810a0f5.tar.gz |
docs: update
FossilOrigin-Name: 37589ee7a72fdf8059ee4c529ada5e10b6956896eb062e006bac20efe40993eb
Diffstat (limited to 'docs/cpt.org')
-rw-r--r-- | docs/cpt.org | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/docs/cpt.org b/docs/cpt.org index caa35c9..9107604 100644 --- a/docs/cpt.org +++ b/docs/cpt.org @@ -495,7 +495,6 @@ license: MIT maintainer: Linux User <linux-user@example.com> #+end_example - ** post-install :PROPERTIES: :DESCRIPTION: The post-installation script @@ -925,7 +924,7 @@ This function was taken from [[https://github.com/ko1nksm/readlinkf][POSIX sh re =readlink= is also not defined by POSIX, so this function uses =ls= to follow symbolic links until it reaches the actual file. -** TODO System Functions +** System Functions :PROPERTIES: :DESCRIPTION: Functions to manipulate your system :END: @@ -947,7 +946,7 @@ following order: The program called for this operation can be overridden using the ~$CPT_SU~ variable. -** TODO Package Functions +** Package Functions :PROPERTIES: :DESCRIPTION: Manipulate, or query anything related to packages :END: @@ -971,7 +970,16 @@ create_cache pkg_build cpt #+end_src -*** TODO =pkg_depends()= +*** =pkg_depends()= + +This function calculates the dependencies for the requested package, returning +the variable ~$deps~. This variable can then be passed to [[=pkg_order()=][pkg_order()]] in order +to generate an ordered list for building packages. + +*** =pkg_order()= + +This function receives package names and returns ~$order~ and ~$redro~ variables +that can be used for building and removing packages. *** =pkg_owner()= :PROPERTIES: |