fordon_greeman / pkger

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