| 1 | #+TITLE: pkger |
| 2 | #+AUTHOR: theidioticdev |
| 3 | |
| 4 | pkger is a really unconventional pkg manager |
| 5 | it uses a suckless-like approach to installing pkgs by editiing =repos.h= like this |
| 6 | |
| 7 | #+BEGIN_SRC c |
| 8 | static const Repository REPOS[] = |
| 9 | { |
| 10 | /* add your repos here... */ |
| 11 | { |
| 12 | .name = "sfetch", |
| 13 | .url = "https://codeberg.org/theidioticdev/sfetch", |
| 14 | .fetchCmd = "git clone", |
| 15 | /* command repo dir" */ |
| 16 | .fetchFmt = "%s %s %s", |
| 17 | .buildCmd = "./build", |
| 18 | .installCmd = "./build --install", |
| 19 | .uninstallCmd = "./build --uninstall"}, |
| 20 | { |
| 21 | .name = "guix", |
| 22 | .url = "https://guix.gnu.org/install.sh", |
| 23 | .fetchFmt = "%s %s -P %s", |
| 24 | .fetchCmd = "wget", |
| 25 | .buildCmd = "chmod +x install.sh", |
| 26 | .installCmd = "./install.sh", |
| 27 | .uninstallCmd = "./install.sh --uninstall"} |
| 28 | }; |
| 29 | |
| 30 | #+END_SRC |