diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-16 11:51:28 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-16 11:51:28 +0000 |
commit | f97fee6d9e9c0580d9b7f0e32a262bcd8d3458c9 (patch) | |
tree | 2c7a39fb582a936082c392984118b53d1a7a227b | |
parent | 0d6c729f1a78b31aa15cae3e4e1f938b6e5a4063 (diff) | |
download | cpt-f97fee6d9e9c0580d9b7f0e32a262bcd8d3458c9.tar.gz |
version: bump
FossilOrigin-Name: a5290cfb8003d362a7169279820db8ad731d0b9a1415acf0a4a91c74db952108
-rw-r--r-- | README.md | 46 | ||||
-rwxr-xr-x | kiss | 3 |
2 files changed, 2 insertions, 47 deletions
@@ -11,15 +11,6 @@ Tiny package manager for KISS Linux. * [Dependencies](#dependencies) * [Getting started](#getting-started) * [Usage](#usage) -* [How does each operator work?](#how-does-each-operator-work) - * [`kiss build pkg`](#kiss-build-pkg) - * [`kiss checksum pkg`](#kiss-checksum-pkg) - * [`kiss depends pkg`](#kiss-depends-pkg) - * [`kiss install pkg`](#kiss-install-pkg) - * [`kiss remove pkg`](#kiss-remove-pkg) - * [`kiss search pkg`](#kiss-search-pkg) - * [`kiss list` or `kiss list pkg`](#kiss-list-or-kiss-list-pkg) - * [`kiss update`](#kiss-update) <!-- vim-markdown-toc --> @@ -81,40 +72,3 @@ export KISS_PATH=~/projects/kiss-new/repo => remove: Remove a package. => update: Check for updates. ``` - -## How does each operator work? - -### `kiss build pkg` - -Kiss's `build` operator handles a package from its source code to the installable `.tar.gz` file. Sources are downloaded, checksums are verified, dependencies are checked and the package is compiled then packaged. - -NOTE: `build` without an argument will rebuild the entire system. - -### `kiss checksum pkg` - -Kiss's `checksum` operator generates the initial checksums for a package from every source in the `sources` file. - -### `kiss depends pkg` - -Kiss's `depends` operator prints the package's dependencies. - -### `kiss install pkg` - -Kiss's `install` operator takes the built `.tar.gz` file and installs it in the system. This is as simple as removing the old version of the package (*if it exists*) and unpacking the archive at `/`. - -### `kiss remove pkg` - -Kiss's `remove` operator uninstalls a package from your system. Files and directories in `/etc` are untouched. Support for exclusions will come as they are needed. - -### `kiss search pkg` - -Kiss's `search` operator searches all repositories for a package and prints -the full path to its repository files. Multiple arguments are welcome. - -### `kiss list` or `kiss list pkg` - -Kiss's `list` operator lists the installed packages and their versions. Giving `list` an argument will check if a singular package is installed. - -### `kiss update` - -Kiss's `update` operator compares the repository versions of packages to the installed database versions of packages. Any mismatch in versions is considered a new upgrade from the repository. @@ -952,7 +952,7 @@ args() { # Print version and exit. v*) - log "$kiss 0.3.2" + log "$kiss 0.3.3" ;; # Catch all invalid arguments as well as @@ -961,6 +961,7 @@ args() { log "$kiss [b|c|i|l|r|s|u] [pkg]" \ "build: Build a package." \ "checksum: Generate checksums." \ + "depends: List package dependencies." \ "install: Install a package (Runs build if needed)." \ "list: List packages." \ "remove: Remove a package." \ |