Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| create_pacman_package [2021/12/30 01:11] – added remove section atari | create_pacman_package [2023/02/24 16:34] (current) – [What is pacman?] nit: Spelling maximumentropy | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| In Batocera **v27** and higher, you can utilize [[https:// | In Batocera **v27** and higher, you can utilize [[https:// | ||
| - | You don't need development skills to create a package, just a bit of patience. If you've copied files too and from directories before, you already have the skill-set required for this. | + | You don't need development skills to create a package, just a bit of patience. If you've copied files to and from directories before, you already have the skill-set required for this. |
| ===== Create your own package ===== | ===== Create your own package ===== | ||
| Line 73: | Line 73: | ||
| <file - .PKGINFO> | <file - .PKGINFO> | ||
| - | pkgname = nes-alter-ego | + | pkgname = nes-alter-ego |
| pkgver = 1.0.0-1 | pkgver = 1.0.0-1 | ||
| - | pkgdesc = NES freeware puzzle game by Shiru, Kulor, Denis Grachev. | + | pkgdesc = Alter Ego - A freeware puzzle game by Shiru, Kulor, Denis Grachev. |
| arch = any | arch = any | ||
| group = sys-nes | group = sys-nes | ||
| - | packager = your_name | + | packager = your_name |
| url = https:// | url = https:// | ||
| Line 86: | Line 86: | ||
| * **pkgname: | * **pkgname: | ||
| * **pkgver:** The version of the package. If this number is higher than the one currently installed, Batocera will offer the user to update the package in the store. The only acceptable format for this is '' | * **pkgver:** The version of the package. If this number is higher than the one currently installed, Batocera will offer the user to update the package in the store. The only acceptable format for this is '' | ||
| - | * **pkgdesc: | + | * **pkgdesc: |
| - | * **arch:** What platforms should this package be available to? Most packages are fine to leave this as " | + | * **arch:** What platforms should this package be available to? Most packages are fine to leave this as " |
| * **group:** What category should the store show this under? If you are creating a package for a specific [[: | * **group:** What category should the store show this under? If you are creating a package for a specific [[: | ||
| The remaining lines are optional, but can provide extra information to users choosing to install them: | The remaining lines are optional, but can provide extra information to users choosing to install them: | ||
| * **packager: | * **packager: | ||
| - | * **url:** URL for the user to go to if they desire more information. | + | * **url:** URL for the user to go to if they desire more information. For freeware, generally links to the page the download can be made manually. |
| <WRAP center round important> | <WRAP center round important> | ||
| Line 126: | Line 126: | ||
| gamelist = nes | gamelist = nes | ||
| < | < | ||
| - | | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | <WRAP center round important> | ||
| + | The '' | ||
| + | </ | ||
| === exec === | === exec === | ||
| Line 146: | Line 150: | ||
| <WRAP center round info> | <WRAP center round info> | ||
| Only interpreters that takes a '' | Only interpreters that takes a '' | ||
| + | </ | ||
| + | |||
| + | <WRAP center round important> | ||
| + | This is called via the Python '' | ||
| + | * Pipes ('' | ||
| + | * Anything that could result in '' | ||
| + | * Any interactivity that reads from '' | ||
| + | * If a command continually runs in the background then the installation will never complete. | ||
| </ | </ | ||
| Line 191: | Line 203: | ||
| ==== Create the package ==== | ==== Create the package ==== | ||
| - | Batocera uses a custom tool to create its packages: | + | Batocera uses a custom tool to create its packages: |
| To use it: | To use it: | ||
| Line 206: | Line 218: | ||
| '' | '' | ||
| + | |||
| + | <WRAP center round info> | ||
| + | '' | ||
| + | </ | ||
| ==== Installing your package ==== | ==== Installing your package ==== | ||
| - | If you'd like to test installing your package, you can do so with the following command: | + | If you'd like to test [[: |
| < | < | ||
| Line 222: | Line 238: | ||
| ==== Updating your package ==== | ==== Updating your package ==== | ||
| - | |||
| - | <WRAP center round todo> | ||
| - | Needs investigation. | ||
| - | </ | ||
| If you kept the original package files, it is simple: make your adjustments and increment the version number however you see fit. | If you kept the original package files, it is simple: make your adjustments and increment the version number however you see fit. | ||
| <file - .PKGINFO> | <file - .PKGINFO> | ||
| - | pkgname = nes-alter-ego | + | pkgname = nes-alter-ego |
| pkgver = 1.0.1-1 | pkgver = 1.0.1-1 | ||
| - | pkgdesc = NES freeware puzzle game by Shiru, Kulor, Denis Grachev. | + | pkgdesc = Alter Ego - A freeware puzzle game by Shiru, Kulor, Denis Grachev. |
| arch = any | arch = any | ||
| group = sys-nes | group = sys-nes | ||
| - | packager = your_name | + | packager = your_name |
| url = https:// | url = https:// | ||
| Line 243: | Line 255: | ||
| The '' | The '' | ||
| </ | </ | ||
| + | |||
| + | You may notice that in your '' | ||
| + | |||
| + | When ready, follow the instructions from the [[# | ||
| <WRAP center round important> | <WRAP center round important> | ||
| Line 279: | Line 295: | ||
| <WRAP center round tip> | <WRAP center round tip> | ||
| - | If you'd like to see a list of recently | + | To see a list of installed packages and their version numbers, run '' |
| </ | </ | ||
| + | |||
| + | ===== Hosting your own repository ===== | ||
| + | |||
| + | It is possible to [[: | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
- create_pacman_package.1640826686.txt.gz
- Last modified: 4 years ago
- by atari