# as root
bash <( curl -sL https://raw.githubusercontent.com/rern/rern.github.io/main/aur_setup.sh )su alarm
cd
# clone existing / init new
git clone ssh://[email protected]/pkg_name
cd pkg_name
# checksum (skip: sha256sums=(SKIP [SKIP ...])
makepkg -g
# Copy/replace sha256sums=... to PKGBUILD
# ready
makepkg --printsrcinfo > .SRCINFO
git add PKGBUILD .SRCINFO [other_file ...]
git commit -m 'commit description'
git push