| 1 | #ifndef REPOS_H |
| 2 | #define REPOS_H |
| 3 | |
| 4 | typedef struct |
| 5 | { |
| 6 | const char *name; |
| 7 | const char *url; |
| 8 | const char *fetchCmd; |
| 9 | const char *fetchFmt; |
| 10 | const char *buildCmd; |
| 11 | const char *installCmd; |
| 12 | const char *uninstallCmd; |
| 13 | } Repository; |
| 14 | |
| 15 | #include "recipes/emacs-noimg.h" |
| 16 | #include "recipes/guix.h" |
| 17 | #include "recipes/kilo.h" |
| 18 | #include "recipes/sfetch.h" |
| 19 | #include "recipes/oxwm.h" |
| 20 | |
| 21 | |
| 22 | static const Repository REPOS[] = |
| 23 | { |
| 24 | emacs_noimg, |
| 25 | guix, |
| 26 | kilo, |
| 27 | sfetch, |
| 28 | oxwm, |
| 29 | }; |
| 30 | |
| 31 | static const size_t REPO_COUNT = sizeof (REPOS) / sizeof (REPOS[0]); |
| 32 | #endif |