-
Notifications
You must be signed in to change notification settings - Fork 3
add man page to deb package #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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
Arch package
- 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.
Dist output
This reverts commit eb6285d.
- create template debian & arch control/PKGBUILD files and use sed to generate - add DEBUG arg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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