cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 335f8e66346082bdffe78fc1757f911d16977aa7
parent 893e55e8925de4a5581300ecb25fe1ea8eb1c409
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Tue, 16 Jul 2019 14:51:28 +0300

version: bump

Diffstat:
MREADME.md | 46----------------------------------------------
Mkiss | 3++-
2 files changed, 2 insertions(+), 47 deletions(-)

diff --git a/README.md b/README.md @@ -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. diff --git a/kiss b/kiss @@ -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." \