Files
AlpinePackages/abuild-Reference.md
Bram Prieshof 03114fff5a Bumped minisatip version to 1.3.44 and updated source file names
* Using `src` instead of version numbers for downloaded source files
*Added cheatsheet for abuild
2025-03-13 23:15:02 +01:00

29 lines
1.3 KiB
Markdown

# Abuild cheat sheet
| **Command** | **Usage** |
|-------------|----------------------------------------------------|
| `clean` | Remove temp build and install dirs |
| `cleancache` | Remove downloaded files |
| `cleanpkg` | Remove already built packages |
| `fetch` | Fetch sources |
| `checksum` | Generate checksum for sources and updates APKBUILD |
| `verify` | Verify checksums for sources listed in APKBUILD |
| `fetch` | Download sources |
| `unpack` | Unpack sources |
| `deps` | Installs dependencies |
| `undeps` | Removes dependencies |
| `build` | Only run build |
| `-r` | Installs missing dependencies and runs full build |
### Update version of a source file
* cd into the package folder
* if the name of the file changes run `abuild cleancache`
* Update the url of the source file
* Run the folloing commands to update the checksum(s)
```
abuild clean
abuild cleancache
abuild checksum
```
* Now run a full build with `abuild -r`