1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/bash # # Run after makepkg -i # source PKGBUILD echo "--- Updating .SRCINFO" makepkg --printsrcinfo > .SRCINFO echo "--- Checking PKGBUILD" namcap PKGBUILD echo "--- Checking " _pkgarch="$(grep 'arch = ' .SRCINFO | cut -d ' ' -f 3)" namcap "$pkgname-$epoch:$pkgver-$pkgrel-$_pkgarch.pkg.tar.zst"