An extremely in progress package manager
Go to file
Skye Bleed d86b34800f Updated README 2019-09-03 18:20:38 -05:00
scripts Build is now in lua 2019-09-03 16:47:27 -05:00
src Made the commands easier 2019-09-03 18:17:02 -05:00
.gitignore better env detection 2019-09-03 10:44:47 -05:00
Cargo.lock A bit of rebranding... 2019-09-03 16:41:20 -05:00
Cargo.toml A bit of rebranding... 2019-09-03 16:41:20 -05:00
README.md Updated README 2019-09-03 18:20:38 -05:00
pack Made the commands easier 2019-09-03 18:17:02 -05:00

README.md

Pack

Extremely in progress

Disclaimer

This has hardly been worked on and is essentially useless at its current state. Please don't use this unless you plan on developing it.

TODO

[ ] Parse cmdline options well, including parsing the package name from the package repo

[ ] Make a KO

[ ] Correctly download from several repos

[ ] Unpack tarballs of various types

[ ] More, probably

Building and Setup

This project can be built automatically using a lua script found in ./scripts/build. If you do not have lua or otherwise do not wish to use this script, you can do it manually as well.

To manually build and set up, first run cargo build --release. Then, run scripts/setup.sh to setup your environment. Then copy target/release/pack to somewhere in your path, such as ~/.local/bin.

Usage

Firstly, to setup your environment, run scripts/arch.sh. The syntax of the command is as follows:

sudo pack {package name}::{repo type}

This will add the tarball found at {package name} to /usr/pack/repo/{repo type}/tarballs.