Skip to content

Commit c2bb61e

Browse files
committed
fix(man): add man page to bin PKGBUILD source and checksums
The pdu.1 man page was being installed in the -bin PKGBUILD package() but was missing from the source array and sha1sums. Add it to the generate-pkgbuild.py3 script (as pdu.{ver}.1) and add a SKIP entry in the sha1sums template. https://claude.ai/code/session_01CrXuWDMVQsiUBoy6ceACsF
1 parent 7a16661 commit c2bb61e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

ci/github-actions/generate-pkgbuild.py3

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ with open('./pkgbuild/parallel-disk-usage-bin/PKGBUILD', 'w') as pkgbuild:
5050
f'completion.{release_tag}.{ext}::{source_url_prefix}/completion.{ext}'
5151
for ext in supported_completions
5252
)
53-
content += f'source=(pdu-{checksum}::{source_url} {completion_source} {readme_url} {license_url})\n'
53+
man_page_source = f'pdu.{release_tag}.1::{source_url_prefix}/pdu.1'
54+
content += f'source=(pdu-{checksum}::{source_url} {completion_source} {man_page_source} {readme_url} {license_url})\n'
5455
content += f'_checksum={checksum}\n'
5556
completion_checksums = ' '.join('SKIP' for _ in supported_completions)
5657
content += f'_completion_checksums=({completion_checksums})\n'

template/parallel-disk-usage-bin/PKGBUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ conflicts=(parallel-disk-usage)
1010
sha1sums=(
1111
"$_checksum" # for the pdu binary
1212
"${_completion_checksums[@]}" # for the completion files
13+
SKIP # for the man page
1314
SKIP # for the readme file
1415
SKIP # for the license file
1516
)

0 commit comments

Comments
 (0)