Skip to content

Conversation

@tmck-code
Copy link
Owner

@tmck-code tmck-code commented Sep 28, 2025

added a manually-created man page to the deb package, will automate this in future

This also changes the templating of various files like the man page, debian control file and the arch PKGBUILD to be physical files that are altered with sed, rather than using heredoc strings.

This may have been a mistake, only time will tell

@tmck-code tmck-code added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 28, 2025
- uses makepkg and a generated PKGBUILD file
- integrated with the debian installer, renamed script
- all packages now end up in build/packages/
rather than overcomplicating the script
as this is more reflective of what it's doing, "build/release" should
build all the bins, and then all the various distribution packages too,
probably putting them under dist/
in future the arch/deb package config files will be moved there too
- binaries are now versioned like the OS packages
- added tarballs that contain the binary, LICENSE and manpage
- write all binaries, OS packages & tarballs to dist/, i.e.

../dist/
├── bin
│   ├── pokesay-0.18.1-android-arm64
│   ├── pokesay-0.18.1-darwin-amd64
│   ├── pokesay-0.18.1-darwin-arm64
│   ├── pokesay-0.18.1-linux-amd64
│   └── pokesay-0.18.1-windows-amd64.exe
├── packages
│   ├── pokesay-0.18.1-1-x86_64.pkg.tar.zst
│   ├── pokesay-0.18.1-android-arm64.deb
│   ├── pokesay-0.18.1-linux-amd64.deb
│   └── pokesay-debug-0.18.1-1-x86_64.pkg.tar.zst
└── tarballs
    └── pokesay-0.18.1-linux-amd64.tar.gz

This now requires running the build task with a VERSION:
VERSION=0.18.1 make build/bin build/packages

These files can then all be uploaded as part of a release.

Then, afterward, the binaries/tarballs can be referenced in AUR and
homebrew packages.
- create template debian & arch control/PKGBUILD files and use sed to generate
- add DEBUG arg
@tmck-code tmck-code merged commit 134361b into master Oct 2, 2025
1 check passed
@tmck-code tmck-code deleted the man-page branch October 4, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants