Best/quick approach to install AUR package when AUR disabled?

Well i trust more copy paste than my typing. Please do not make intentional typos. That pacman build command worked as mentioned above. But the transaction failed due to 404 download URL:

Building stardict-cz...
==> Making package: stardict-cz 20140101-1 (Út 20. října 2020, 15:46:11)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading stardict-czech-20140101.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 
==> ERROR: Failure while downloading http://dl.cihar.com/slovnik/stardict-czech-20140101.tar.gz
    Aborting...
Error: Failed to build stardict-cz

So i was searching for that .tar.gz filename on the internet and found likely new URL:
https://dl.cihar.com/slovnik/stable/stardict-czech-20140101.tar.gz

I trust the source so i go to my apps directory: cd;cd apps
and download package: git clone https://aur.archlinux.org/stardict-cz.git
go to the directory: cd stardict-cz
replace URL: nano PKGBUILD
install: makepkg -is PKGBUILD

restart stardict and it seems that manual installation worked, but not the “pamac build” one, i had to do the same for stardict-en-cz.

2 Likes