* Using `src` instead of version numbers for downloaded source files *Added cheatsheet for abuild
1.3 KiB
1.3 KiB
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