fordon_greeman / pkger

Branch: c2d1d35
Switch branches/tags
main
theidioticdev feat: support more than just git, guix pkg test, port bs from c to shell c2d1d35 18d ago
26 lines · 853 B Rendered Raw Blame History
1 #+TITLE: slpkger (small packager)
2 #+AUTHOR: theidioticdev
3 x
4 slpkger is a really unconventional package manager (seriously don't use this for a distro)
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 = "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"},
19 {
20 .name = "sfetch",
21 .url = "https://codeberg.org/theidioticdev/sfetch",
22 .buildCmd = "./build",
23 .installCmd = "./build --install",
24 };
25
26 #+END_SRC