--locked is unreliable for -git packages where Cargo.lock may diverge from the latest source. Also documents the required paru -Sy --pkgbuilds step and common error resolutions.
54 lines
1.2 KiB
Markdown
54 lines
1.2 KiB
Markdown
# Moonarch PKGBUILDs
|
|
|
|
Arch Linux package builds for the Moonarch ecosystem. Use with [paru](https://github.com/Morganamilo/paru) as a custom AUR source.
|
|
|
|
## Packages
|
|
|
|
| Package | Description |
|
|
|---------|-------------|
|
|
| `moonset-git` | Wayland session power menu |
|
|
| `moonlock-git` | Wayland lockscreen with PAM and fingerprint support |
|
|
| `moongreet-git` | greetd greeter for Wayland |
|
|
|
|
## Setup
|
|
|
|
Add to `~/.config/paru/paru.conf`:
|
|
|
|
```ini
|
|
[moonarch]
|
|
Url = https://gitea.moonarch.de/nevaforget/moonarch-pkgbuilds
|
|
```
|
|
|
|
Then sync the repository index:
|
|
|
|
```bash
|
|
paru -Sy --pkgbuilds
|
|
```
|
|
|
|
This downloads the PKGBUILDs from Gitea. Without this step, paru will not find the moonarch packages.
|
|
|
|
## Install
|
|
|
|
```bash
|
|
paru -S moonset-git moonlock-git moongreet-git
|
|
```
|
|
|
|
## Update
|
|
|
|
Standard system upgrade picks up new versions automatically:
|
|
|
|
```bash
|
|
paru -Syu
|
|
```
|
|
|
|
## Troubleshooting
|
|
|
|
**"not downloaded (use -Sy --pkgbuilds to download)"**: Run `paru -Sy --pkgbuilds` to fetch the repo index.
|
|
|
|
**"cannot update the lock file ... --locked was passed"**: The PKGBUILD cache is stale. Clear it and retry:
|
|
|
|
```bash
|
|
rm -rf ~/.cache/paru/clone/repo/moonarch
|
|
paru -Sy --pkgbuilds && paru -S <package>
|
|
```
|