Hash :
4869233e
Author :
Thomas de Grivel
Date :
2023-02-04T01:26:28
Minimalist package manager for UNIX written in shell (/bin/sh).
$ cd && git clone https://git.kmx.io/kmx.io/shpkg.git && . shpkg/etc/shpkg/profile
Usage: shpkg OPERATION PKG ...
Source directory operations :
clone shortcut for git clone
fetch shortcut for git fetch
pull shortcut for git pull
remove | rm shortcut for uninstall and rm -rf repo
Compilation operations :
autogen shortcut for ./autogen
configure shortcut for ./configure
clean shortcut for make clean
build shortcut for make
Package operations :
fake install compiled sources into fake directory
package build package from sources
install install package
upgrade pull sources, build package and install
uninstall uninstall package
To install a package, for example “c3” :
$ shpkg install c3
Cloning into 'c3' ...
Upgrading a package :
$ shpkg upgrade c3
Counting remote objects ...
Updating sources for a package :
$ shpkg pull c3
Counting remote objects ...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
# shpkg
Minimalist package manager for UNIX written in shell (/bin/sh).
## Installation
```
$ cd && git clone https://git.kmx.io/kmx.io/shpkg.git && . shpkg/etc/shpkg/profile
```
## Usage
```
Usage: shpkg OPERATION PKG ...
Source directory operations :
clone shortcut for git clone
fetch shortcut for git fetch
pull shortcut for git pull
remove | rm shortcut for uninstall and rm -rf repo
Compilation operations :
autogen shortcut for ./autogen
configure shortcut for ./configure
clean shortcut for make clean
build shortcut for make
Package operations :
fake install compiled sources into fake directory
package build package from sources
install install package
upgrade pull sources, build package and install
uninstall uninstall package
```
To install a package, for example "c3" :
```
$ shpkg install c3
Cloning into 'c3' ...
```
Upgrading a package :
```
$ shpkg upgrade c3
Counting remote objects ...
```
Updating sources for a package :
```
$ shpkg pull c3
Counting remote objects ...
```