TNT/packaging/arch/README.md
2026-05-24 09:16:07 +08:00

855 B

Arch / AUR Packaging

The draft package name is tnt-chat because tnt is already a likely name collision in Arch/AUR contexts.

Local validation

From this directory:

makepkg -si

Optional package linting:

namcap PKGBUILD
namcap tnt-chat-*.pkg.tar.zst

Updating metadata

After editing PKGBUILD, regenerate .SRCINFO:

makepkg --printsrcinfo > .SRCINFO

Before AUR submission, replace sha256sums=('SKIP') with the real release archive checksum, then run the project-level strict check:

make release-check-strict

Manual AUR submission

git clone ssh://aur@aur.archlinux.org/tnt-chat.git aur-tnt-chat
cp PKGBUILD .SRCINFO aur-tnt-chat/
cd aur-tnt-chat
git add PKGBUILD .SRCINFO
git commit -m "Update to 1.0.1"
git push

Do not wire this to automatic deployment or release automation.