feat: improved pkgbuild, config concepts

This commit is contained in:
2026-06-13 10:24:55 +02:00
parent 36d3c6f992
commit 6368d8f30a
13 changed files with 124 additions and 6 deletions
+23
View File
@@ -3,5 +3,28 @@
In python, using functions and args for them
### Packages config
#### Repos
- Just use pacman with the list
#### AUR
Users can choose to either use yay (less secure, but easier, using `archmgr.pkgs.aur.add_aur_helper_package`, does not do any checks on the PKGBUILDs) or
**Explicit management:**
- User provides package (by creating `archmgr.pkgs.aur.AURPackage` class) and adding its AUR deps. Other deps are resolved automatically
- Send the package class to the manager using `archmgr.pkgs.aur.add_aur_package`
- In the future will provide a function that will do the dep resolution automatically.
- For each and its deps, it will analyze the PKGBUILD for common malware issues. Also add option to display all PKGBUILDs before building
### Commands
- Run the command on the specified hook
### Templates
- Use pystache to replace elements
### Themes
- Use python-colorthief to extract palette
- Add those as named elements to the templates list
## Init
- Copy