.SRCINFO generated with the real makepkg tool inside an ephemeral archlinux container -- no VM or native Arch install needed, and no risk of hand-written formatting drift from the makepkg-canonical output. Also adds .gitattributes forcing LF for PKGBUILD/.SRCINFO regardless of platform checkout settings -- both are parsed by shell/makepkg tooling that breaks on CRLF. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
939 B
939 B
msdl-bin (AUR)
PKGBUILD and .SRCINFO for the msdl-bin AUR package, tracked here so version bumps have the same history/review as the winget manifests.
.SRCINFO is generated with the real makepkg tool (via an ephemeral archlinux Docker container — no VM or native Arch install needed) whenever PKGBUILD changes:
docker run --rm -v "$(pwd)":/pkg -w /pkg archlinux:latest bash -c "
useradd -m builder && chown -R builder:builder /pkg &&
pacman -Sy --noconfirm --needed base-devel &&
su builder -c 'makepkg --printsrcinfo' > .SRCINFO
"
Publishing (requires an AUR account with an SSH key registered at aur.archlinux.org — this step can't be automated on someone else's behalf):
git clone ssh://aur@aur.archlinux.org/msdl-bin.git
cp PKGBUILD .SRCINFO msdl-bin/
cd msdl-bin
git add PKGBUILD .SRCINFO
git commit -m "Update to <version>"
git push