- C 96.4%
- Makefile 2.2%
- Shell 1.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| docs | ||
| src | ||
| .gitignore | ||
| makefile | ||
| PKGBUILD | ||
| README.md | ||
Pacboy
A simple library manager to handle my custom C libraries, to copy them as needed
How it works
You create a folder name ~/.local/share/paclibs, you put one folder for each library you need, each folder containing the necessaries C and header files.
Then you run pacboy <the name of the folder> <path/to/where/it/will/be/pasted>
The content of the folder will be copied, not the folder itself
Database
Optionnally, you can use a database, which is a distant git repository containing the ~/.local/share/paclibs folder on a branch named mirror. You can configure this by running apcboy --change-config and entering your url, or mine if you just want a general database : https://github.com/Greensky-gs/paclibs-database. If you use mine, just make sure you run pacboy -P to get the latest changes
Installation
PKGBUILD (archlinux)
curl -o PKGBUILD https://git.greensky.tf/Greensky/pacboy/raw/branch/master/PKGBUILD && makepkg -sicCf
It is then advised to run
pacboy -Pto synchronize database with default mirrors
From source
If you want to install it for yourself, you will first need :
- gcc
- make
- git (to clone the repo)
Then you can do :
git clone https://github.com/Greensky-gs/pacboy && cd pacboyto clone the repomake cleanbuildto create the executable- Move the binary to a folder in your path. If you want to have it globally :
sudo cp bin/main.uwu /usr/bin/pacboy, I usually put it in my bin folder :cp bin/main.uwu ~/bin/pacboy- just make sure the~/binis in your $PATH - Optionnaly create the man page entry :
sudo make manpage - Run
pacboy -Pto synchronize the database first
Usage
You can read the help first by running pacboy -h
We have more detailled informations in the man page