Files
AeroPkg/assets/etc/aeropkg.md

63 lines
1.0 KiB
Markdown
Raw Normal View History

2025-09-02 20:01:30 +03:00
Aeropkg config file
2025-06-02 18:00:32 +03:00
=
2025-09-03 23:58:59 +03:00
> # Repository
> Global settings
2025-08-08 00:00:14 +03:00
``` cfg *** Repository list and priority ***
2025-09-02 20:01:30 +03:00
gnu /pkg/gnu/aeropkg/var/gnu
musl /pkg/gnu/aeropkg/var/musl
2025-06-02 18:00:32 +03:00
```
2025-09-03 23:58:59 +03:00
> # Trim options
> Trimming removes unused files for a specified period
>
> Usage:
2025-09-18 12:21:01 +03:00
> pkg trim \<repo\> \<date\> \[time\]
> date: DD.MM.YYYY
> time: HH:mm:ss
2025-09-03 23:58:59 +03:00
>
> Configure format
2025-09-18 12:21:01 +03:00
> Relative paths with /pkg/<repo>, support wildcard
> Add ! to exclude
2025-06-02 18:00:32 +03:00
2025-09-18 12:21:01 +03:00
``` cfg *** Trim rules ***
!**
!aeropkg
2025-09-03 23:58:59 +03:00
```
> # Env
> Build stages environment
>
> Example:
> env
> env \<repo\>
> env \<stage\>
> env \<repo\> \<stage\>
> stage can be: download, patch, build, config
``` cfg *** Env <repo> <stage> ***
src_remove=true|false (default true)
pgo=generate|use (default none)
disable=true|false (default false)
```
> # Hooks
> Execute a shell script for a specific repository
>
> Example:
> Hook \<repo\> \<stage\>
> Hook \<stage\>
> stage can be: download, patch, build, config
>
> hook env
> pkgname - package name
> repo - repository name
``` sh *** Hook <repo> <stage> ***
echo "hooked"
2025-06-02 18:00:32 +03:00
```