Next: , Previous: , Up: Build   [Index]


skelenv

skelpkgs are installed in so-called "skelenv" (skel-environment). skelenv is a directory with at least local/ directory.

With pkg-inst $PKG command you can "install" skelpkgs to that skelenv. Installation procedure checks if skelbin (unpacked skelbin) already exists in $SKELBINS. Unpacks skelpkg if it is not. Then is runs preinst hook, stow, postinst hook.

For pkg-inst usage, skelpkgs/$PKG subdirectory is created in skelenv, with:

Only one version of the skelpkg can be installed. You can not use two skelpkgs with varying hashes inside them.

Some skelpkgs tend to create and alter rc file in the root of skelenv. If is aimed to be sourced by your shell, to modify various environment variables for ease of skelenv usage.

pkg-rm $PKG command can be used to remove skelpkgs from your skelenv. Basically it is just un-stow-ing of them and removing the skelpkgs/$PKG, with consideration of the *rm hooks.

mk-skelenv can be used to create skelenv in current directory. It creates local/ directory and installs rc-paths and stow packages.