29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
# 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.
|