pacco/README.md
JMARyA d3186a0794
All checks were successful
ci/woodpecker/push/build Pipeline was successful
update
2025-01-13 18:08:07 +01:00

30 lines
671 B
Markdown

# Pacco
Pacco is an application for managing and hosting pacman repositories.
## Features
- Multiple repositories
- Multiple architectures
- Web UI for packages
- API for pushing new packages
- Smart mirroring
## Usage
### Package Repo
To use the packages pacco provides, add the following to `pacman.conf`:
```ini
# /etc/pacman.conf
[repo]
Server = https://example.com/pkg/$repo/$arch
```
### Add a new package
To upload a package you created with `makepkg` to a repo use curl:
```sh
curl -X POST \
-F "pkg=@./<pkg_name>-<version>-<rel>-<arch>.pkg.tar.zst" \
-F "sig=@./<pkg_name>-<version>-<rel>-<arch>.pkg.tar.zst.sig" \
"https://<domain>/pkg/<repo>/upload"
```