33900a8b3c
Neue Dateien: - PKGBUILD: AUR-Paket mit Hook-Installation - INSTALL.md: Installations-Guide mit eigenem AUR-Repo - USAGE.md: Befehlsreferenz + Troubleshooting Features: - ALPM-Hook Installation via aegisaur install-hook - Eigenes pacman-Remote auf Gitea - Config/Cache Pfad-Dokumentation Repository: https://gitea.die-heimatlosen.eu/arch_agent/aegisaur
76 lines
1.6 KiB
Markdown
76 lines
1.6 KiB
Markdown
# 📦 Installation Guide
|
|
|
|
## Schnellstart
|
|
|
|
```bash
|
|
# Als AUR-Paket installieren (empfohlen)
|
|
makepkg -si PKGBUILD
|
|
|
|
# Oder systemweit nach /usr/local/bin
|
|
sudo cp target/release/aegisaur /usr/local/bin/
|
|
sudo chmod +x /usr/local/bin/aegisaur
|
|
|
|
# Oder symbolischer Link
|
|
sudo ln -s $(pwd)/target/release/aegisaur /usr/local/bin/aegisaur
|
|
```
|
|
|
|
## Eigenes AUR-Repository
|
|
|
|
### Pfad auf Gitea
|
|
```
|
|
https://gitea.die-heimatlosen.eu/arch_agent/aegisaur
|
|
```
|
|
|
|
### Als pacman-Remote hinzufügen
|
|
|
|
Bearbeite `/etc/pacman.conf`:
|
|
|
|
```ini
|
|
[aegisaur]
|
|
SigLevel = Optional TrustAll
|
|
Server = https://gitea.die-heimatlosen.eu/arch_agent/$repo/releases/download/latest
|
|
```
|
|
|
|
### Oder manuell
|
|
|
|
```bash
|
|
# PKGBUILD herunterladen
|
|
curl -O https://gitea.die-heimatlosen.eu/arch_agent/aegisaur/raw/branch/master/PKGBUILD
|
|
|
|
# Bauen und installieren
|
|
makepkg -si
|
|
```
|
|
|
|
## ALPM-Hook (systemweit)
|
|
|
|
```bash
|
|
# Installiert Hook nach /usr/share/libalpm/hooks/
|
|
sudo aegisaur install-hook
|
|
|
|
# Deinstalliert Hook
|
|
sudo aegisaur remove-hook
|
|
```
|
|
|
|
## Konfiguration
|
|
|
|
```bash
|
|
# Erstellt ~/.config/aegisaur/config.toml
|
|
aegisaur config
|
|
|
|
# Beispiel-Config kopieren
|
|
cp /usr/share/aegisaur/config.example.toml ~/.config/aegisaur/config.toml
|
|
```
|
|
|
|
## Pfad-Übersicht
|
|
|
|
| Komponente | Pfad |
|
|
|------------|------|
|
|
| Binary | `/usr/bin/aegisaur` |
|
|
| ALPM-Hook | `/usr/share/libalpm/hooks/99-aegisaur.hook` |
|
|
| Hook-Script | `/usr/share/libalpm/hooks/aegisaur-check.sh` |
|
|
| Dokumentation | `/usr/share/doc/aegisaur/` |
|
|
| Config | `~/.config/aegisaur/config.toml` |
|
|
| Cache | `~/.cache/aegisaur/` |
|
|
| Quellcode | `/home/arch_agent_system/.openclaw/workspace/aegisaur/` |
|
|
| Gitea-Repo | `https://gitea.die-heimatlosen.eu/arch_agent/aegisaur` |
|