Skip to content

fix(aur): plain local source for mcpp.sh (AUR hook rejects rename syntax)#171

Merged
Sunrisepeak merged 1 commit into
mainfrom
fix/aur-local-source
Jun 25, 2026
Merged

fix(aur): plain local source for mcpp.sh (AUR hook rejects rename syntax)#171
Sunrisepeak merged 1 commit into
mainfrom
fix/aur-local-source

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

AUR's server-side hook rejected the first publish push: missing source file: mcpp-0.0.65.sh::mcpp.sh. The dest::localfile rename syntax is URL-only; local files must be listed plainly. Switches mcpp-bin to source=("mcpp.sh") (matching the mcpp package) and regenerates .SRCINFO + the update.sh template. SSH auth confirmed working (the push reached the hook).

The AUR validation hook rejects the `dest::localfile` rename syntax for a
local source file:

  remote: error: missing source file: mcpp-0.0.65.sh::mcpp.sh
  remote: error: hook declined to update refs/heads/master

That rename form is only valid for URL sources; local files must be listed
plainly. (The cache-busting rationale was bogus — makepkg doesn't cache
local files.) Switch mcpp-bin to `source=("mcpp.sh")`, matching the mcpp
source package, and regenerate .SRCINFO + the update.sh template.
@Sunrisepeak Sunrisepeak merged commit 8dabe1a into main Jun 25, 2026
5 checks passed
@Sunrisepeak Sunrisepeak deleted the fix/aur-local-source branch June 25, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant