|
1 | 1 | --- |
2 | 2 | title: Package YAML |
3 | 3 | summary: Learning the package.yml packaging format |
4 | | -date: 2022-12-16 |
| 4 | +date: 2023-05-22 |
5 | 5 | --- |
6 | 6 |
|
7 | 7 | # Package.yml |
@@ -49,12 +49,12 @@ Not all fields in `package.yml` are mandatory, but a small selection are. Below |
49 | 49 | ### Mandatory Keys |
50 | 50 |
|
51 | 51 | | Key Name | Type | Description | |
52 | | -| --------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | |
| 52 | +| --------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
53 | 53 | | **name** | `string` | The name of the package. This is also used as the base of all sub-package names. Unless unavoidable, this should match the upstream name. | |
54 | 54 | | **version** | `string` | The version of the currently packaged software. This is taken from the tarball in most cases. | |
55 | 55 | | **release** | `integer` | Specifies the current release number. Updates in the package number are based on this `release` number, _not_ the `version` number. As such, to release an update to users, this number must be incremented by one. | |
56 | 56 | | **license** | `string(s)` | Valid upstream license(s). Try to ensure these use [SPDX identifiers](https://spdx.org/licenses/). | |
57 | | -| **source** | `dict(s)` | Upstream source URL (i.e. tarball), with the valid `sha256sum` as a value. Alternatively, the git repository URL prefixed with `git | ` and a git tag or commit hash as a value. | |
| 57 | +| **source** | `dict(s)` | Upstream source URL (i.e. tarball), with the valid `sha256sum` as a value. Alternatively, the git repository URL prefixed with "git|" and a git tag or commit hash as a value. | |
58 | 58 | | **component** | `string` | Component / group of packages this package belongs to. Check available components via `eopkg lc` | |
59 | 59 | | **summary** | `string` | Brief package summary, or display name. | |
60 | 60 | | **description** | `string` | More extensive description of the software, usually taken from the vendor website. | |
@@ -202,7 +202,7 @@ Macros are prefixed with `%`, and are substituted before your script is executed |
202 | 202 | | **%ARCH%** | Indicates the current build architecture. | |
203 | 203 | | **%CC%** | C compiler | |
204 | 204 | | **%CFLAGS%** | cflags as set in `eopkg.conf` | |
205 | | -| **%CONFOPTS%** | Flags / options for configuration, such as `--prefix=%PREFIX%`. [Full List.](https://github.com/getsolus/ypkg/blob/master/ypkg2/rc.yml#L376-378) | |
| 205 | +| **%CONFOPTS%** | Flags / options for configuration, such as `--prefix=%PREFIX%`. [Full List.](https://github.com/getsolus/ypkg/blob/master/ypkg2/rc.yml#L353-L356) | |
206 | 206 | | **%CXX%** | C++ compiler | |
207 | 207 | | **%CXXFLAGS%** | cxxflags as set in `eopkg.conf` | |
208 | 208 | | **%JOBS%** | jobs, as set in `eopkg.conf` | |
|
0 commit comments