Maintainer, please consider checking the _urlbase
variable's browsing output for 404 HTTP error, otherwise an error in _dist_checksum()
function will cause a confusing empty sha256sums array.
Example of verification you could do before _dist_checksum()
:
curl --silent --fail "$_urlbase" > /dev/null
if [ $? == 22 ]; then
echo "Page '$_urlbase' not found, PKGBUILD possibly need pkgver bump. Please flag out of date in AUR page."
fi
p.s. 22 exit code means HTTP page not retrieved, as per curl man page.
Pinned Comments
grufo commented on 2019-08-15 02:22 (UTC)
Before running
makepkg
, you must do this (as normal user):$ gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
If you want to update tor-browser from AUR without AUR helpers you can run in a terminal:
$ tor-browser -u