fordon_greeman / pkger

chore: forgot to update readme, full rename Browse files
theidioticdev committed 18d ago parent c2d1d35 commit 451f89fbf707babcfd261d5cd016763c2dcf5b9b
Showing 1 changed file with 24 additions and 19 deletions. UnifiedSplit
+24 −19 readme.org
@@ -1,26 +1,31 @@
1 -#+TITLE: slpkger (small packager)
1 +
2 +#+TITLE: pkger
2 3 #+AUTHOR: theidioticdev
3 -x
4 -slpkger is a really unconventional package manager (seriously don't use this for a distro)
4 +
5 +pkger is a really unconventional pkg manager
5 6 it uses a suckless-like approach to installing pkgs by editiing =repos.h= like this
6 7
7 8 #+BEGIN_SRC c
8 - static const Repository REPOS[] =
9 - {
10 - /* add your repos here... */
11 - {
12 - .name = "tins",
13 - .url = "https://codeberg.org/theidioticdev/tins",
14 - .buildCmd = "true",
15 - .installCmd =
16 - "install -Dm755 tins /usr/local/bin && install -Dm644 completions/tins-comp.sh /usr/share/bash-completions/completions/tins",
17 - .uninstallCmd =
18 - "rm -f /usr/local/bin/tins /usr/share/bash-completions/completions/tins"},
9 + static const Repository REPOS[] =
19 10 {
20 - .name = "sfetch",
21 - .url = "https://codeberg.org/theidioticdev/sfetch",
22 - .buildCmd = "./build",
23 - .installCmd = "./build --install",
24 - };
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 + };
25 30
26 31 #+END_SRC