Files
AeroPkg/assets/etc/aeropkg.md

70 lines
1.3 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:
> pkg trim \<repo\> \<period\>
> period relative time format:
> y — years, M — months, d — days, h — hours, m — minutes, s — seconds
> period absolute date format:
> DD.MM.YYYY HH:mm:ss
>
> Example:
> pkg trim musl 2d 10h
> pkg trim musl 04.09.2025 08:57:07
>
> Configure format
> Any Linux path format, relative from /pkg/\<repo\>
``` cfg *** Trim exclude ***
2025-06-02 18:00:32 +03:00
*
```
2025-09-03 23:58:59 +03:00
``` cfg *** Trim include ***
```
> # 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
```