# Output Files

* [x] <mark style="color:orange;">**`${SBUILD_OUTDIR}/${PKG}`**</mark> <mark style="color:red;">**`ENFORCED`**</mark>

{% hint style="info" %}

* [x] **Description**: The actual <mark style="color:orange;">**binary/package**</mark> that was built
* [x] **Min\_Size**: <mark style="color:orange;">**`> 1KB`**</mark>
  {% endhint %}

- [x] <mark style="color:orange;">**`${SBUILD_OUTDIR}/.version`**</mark> | <mark style="color:orange;">**`${SBUILD_OUTDIR}/${PKG}.version`**</mark> <mark style="color:red;">**`ENFORCED`**</mark>

{% hint style="info" %}
**Description**: <mark style="color:purple;">**`Version`**</mark> <mark style="color:orange;">**File**</mark>, Contains Version, *if empty, then Use Version based on* <mark style="color:orange;">**Date**</mark>/<mark style="color:orange;">**BSUM**</mark>
{% endhint %}

* [x] <mark style="color:orange;">**`${SBUILD_OUTDIR}/.desktop`**</mark> | <mark style="color:orange;">**`${SBUILD_OUTDIR}/${PKG}.desktop`**</mark> <mark style="color:green;">**`OPTIONAL`**</mark>

{% hint style="info" %}

* [x] **Description**: <mark style="color:purple;">**`Desktop`**</mark> <mark style="color:orange;">**File**</mark>, Is *Edited/Fixed during Integration*
* [x] **Min\_Size**: <mark style="color:orange;">**`> 3BYTES`**</mark>
* [x] Only Available for [**Packages**](/formats/packages.md) **NOT** for [**Binaries**](/formats/binaries.md)
  {% endhint %}

- [x] <mark style="color:orange;">**`${SBUILD_OUTDIR}/.DirIcon`**</mark> | <mark style="color:orange;">**`${SBUILD_OUTDIR}/${PKG}.DirIcon`**</mark> <mark style="color:green;">**`OPTIONAL`**</mark>

{% hint style="info" %}

* [x] **Description**: <mark style="color:orange;">**`DirIcon`**</mark>, *Preferred as* <mark style="color:purple;">**`Icon`**</mark> **if** <mark style="color:orange;">**${SBUILD\_OUTDIR}/${PKG}.png**</mark> OR <mark style="color:orange;">**${SBUILD\_OUTDIR}/${PKG}.svg**</mark> **DO NOT Exist**
* [x] **Min\_Size**: <mark style="color:orange;">**`> 20Bytes`**</mark>
* [x] Only Available for [**Packages**](/formats/packages.md) **NOT** for [**Binaries**](/formats/binaries.md)
  {% endhint %}

- [x] <mark style="color:orange;">**`${SBUILD_OUTDIR}/${PKG}.png`**</mark> | <mark style="color:orange;">**`${SBUILD_OUTDIR}/${PKG}.svg`**</mark> <mark style="color:green;">**`OPTIONAL`**</mark>

{% hint style="info" %}

* [x] **Description**: *Preferred even* **if&#x20;**<mark style="color:orange;">**${SBUILD\_OUTDIR}/${PKG}.png**</mark> OR <mark style="color:orange;">**${SBUILD\_OUTDIR}/${PKG}.svg**</mark> **Exists due to Higher Resolution**
* [x] **Min\_Size**: <mark style="color:orange;">**`> 20BYTES`**</mark>
* [x] Only Available for [**Packages**](/formats/packages.md) **NOT** for [**Binaries**](/formats/binaries.md)
  {% endhint %}

- [x] <mark style="color:orange;">**`${SBUILD_OUTDIR}/${PKG}.appdata.xml`**</mark> | <mark style="color:orange;">**`${SBUILD_OUTDIR}/${PKG}.metainfo.xml`**</mark> <mark style="color:green;">**`OPTIONAL`**</mark>

{% hint style="info" %}

* [x] **Description**: *Prefer* <mark style="color:orange;">**metainfo.xml**</mark> over <mark style="color:orange;">**appdata.xml**</mark> as *<mark style="color:orange;">appdata.xml</mark> is now Legacy*
* [x] **Min\_Size**: <mark style="color:orange;">**`> 3BYTES`**</mark>
* [x] Only Available for [**Packages**](/formats/packages.md) **NOT** for [**Binaries**](/formats/binaries.md)
  {% endhint %}

- [x] <mark style="color:orange;">**`${SBUILD_OUTDIR}/LICENSE`**</mark> <mark style="color:green;">**`OPTIONAL`**</mark>

{% hint style="info" %}

* [x] **Description**: [<mark style="color:purple;">**`LICENSE`**</mark>](/sbuild/specification/13.license.md) <mark style="color:orange;">**File**</mark>, Contains License
* [x] **Min\_Size**: <mark style="color:orange;">**`> 3BYTES`**</mark>
* [x] Is **NOT Always Available**, a <mark style="color:orange;">**`WARN`**</mark>is sufficient when it doesn't exist
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pkgforge.dev/sbuild/instructions/needed_files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
