Skip to content

Fix the stroke-bin PKGBUILD for v3 .debs - #309

Merged
broisnees merged 1 commit into
nightlyfrom
fix/aur-pkgbuild
Nov 19, 2026
Merged

broisnees merged 1 commit into
nightlyfrom
fix/aur-pkgbuild

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

Since 2.20 the .deb already ships /usr/bin/stroke and stroke.png. The template's unconditional mv "$pkgdir/usr/bin/app" ... therefore failed, which broke yay -S stroke-bin and install.sh on Arch for v3.0.0.

  • The renames run only when the old app names exist.
  • pkgrel is a template field: release.yml fills in 1.
  • New aur.yml: Republish to the AUR for a tag that's already released, with a higher pkgrel. After merging, I run it with v3.0.0 and pkgrel 2.

Tested: I ran package() under an ERR trap on the real v3.0.0 .deb (ships stroke) and the 2.3.0 .deb (ships app). Both end with /usr/bin/stroke, stroke.png icons, and Exec=stroke, Icon=stroke and Categories=Development;Database; in the desktop file.

…roke

Since 2.20 the .deb ships /usr/bin/stroke and stroke.png, so the
unconditional mv of app failed and yay -S stroke-bin broke for everyone.
The renames now run only when the old names are there. pkgrel is a
template field, and aur.yml republishes a released version with a
higher pkgrel.
@broisnees broisnees added the release:skip Merge into nightly without a version bump (docs, CI, chores) label Nov 19, 2026
@broisnees
broisnees merged commit 48c72a0 into nightly Nov 19, 2026
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release:skip Merge into nightly without a version bump (docs, CI, chores)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant