GNU Icecat install via AUR

Hello I am attempting to install Gnu Icecat 78.4.1-1 via the AUR repo
BUT everytime I attempt the install it is spitting back this error:

Preparing…
Cloning icecat build files…
Checking icecat dependencies…
Resolving dependencies…
Checking inter-conflicts…
Edit icecat build files

Cloning icecat build files…
Checking icecat dependencies…
Resolving dependencies…
Checking inter-conflicts…

Building icecat…
/var/tmp/pamac-build-anonymousey/icecat/PKGBUILD: line 78: syntax error near unexpected token |' /var/tmp/pamac-build-anonymousey/icecat/PKGBUILD: line 78: -find . | tac | grep run-mozilla | prename --nofullpath -E ‘s/mozilla/icecat/;’’
/var/tmp/pamac-build-anonymousey/icecat/PKGBUILD: line 79: +find: command not found
sed: can’t read ./netwerk/protocol/http/nsHttpHandler.cpp: No such file or directory
/var/tmp/pamac-build-anonymousey/icecat/PKGBUILD: line 83: EOF: command not found
bash: makeicecat: No such file or directory
/var/tmp/pamac-build-anonymousey/icecat/PKGBUILD: line 96: cd: output/icecat-78.4.1: No such file or directory
patch: **** Can’t open patch file …/…/…/0001-Use-remoting-name-for-GDK-application-names.patch : No such file or directory
patch: **** Can’t open patch file …/…/…/bug-1663715.patch : No such file or directory
sed: can’t read config/baseconfig.mk: No such file or directory
sed: can’t read config/baseconfig.mk: No such file or directory
-> Starting build…
/var/tmp/pamac-build-anonymousey/icecat/PKGBUILD: line 146: syntax error near unexpected token }' /var/tmp/pamac-build-anonymousey/icecat/PKGBUILD: line 146: }’
==> ERROR: Failed to source /var/tmp/pamac-build-anonymousey/icecat/PKGBUILD

Can anyone orient me?

Use makepkg manually. Expect it to take a while if it works.
But … seems AUR page has some comments:
https://aur.archlinux.org/packages/icecat/

Sorry but how exactly do I do this?

https://wiki.manjaro.org/index.php?title=Arch_User_Repository#Installing_from_the_AUR_by_hand

download and run makepkg -sric roughly.

Thank you for the help but after investigating the guide I realize this operation is a little too advanced for me & my current level of linux understanding… I will look into it further & hopefully I can do it in the future!

Thanks again!

Hello me again,

I found a helpful step by step video that shows how to manually install from AUR:

However, at the end the terminal is spitting the same error:

$ makepkg -sric
==> Making package: icecat 78.4.1-1 (Thu 12 Nov 2020 06:02:47 PM CST)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
-> Found gnuzilla-df2c2e22a0c6ea5b4dcaed52884223bfa6ffacde.tar.gz
-> Found icecat.desktop
-> Found icecat-safe.desktop
-> Found 0001-Use-remoting-name-for-GDK-application-names.patch
-> Found bug-1663715.patch.gz
==> Validating source files with sha256sums…
gnuzilla-df2c2e22a0c6ea5b4dcaed52884223bfa6ffacde.tar.gz … Passed
icecat.desktop … Passed
icecat-safe.desktop … Passed
0001-Use-remoting-name-for-GDK-application-names.patch … FAILED
bug-1663715.patch.gz … Passed
==> ERROR: One or more files did not pass the validity check!

That video is the same as the wiki. Except missing explanations and extra info.

Anyways … thats a very different error.
Which is probably good.
All you need is to run updpkgsums and then do makepkg -sric again.

It looks it worked. However now I have another question…
Due to the fact that I do not yet understand the linux file system I believe I put the install files in the wrong place & now the program is failing to launch?

During the install process I create a folder called /programs within my /home folder.
This is where I uploaded the install files & did the makepkg command,
So can I cut and paste the newly created files to another location?
Or do I need to redo the install in the correct location?
What is the correct location?
Is it /usr … something?

Sorry for the stupid questions,
Im very new to Linux

You shouldnt have needed to put install files anywhere.
You just needed to download the archive and PKGBUILD and then makepkg built everything and put it where it needs to go. That directory you downloaded could just be removed when everything is finished.

I see. Then its as I said above … that folder is just where you built stuff. Nothing else.
To clarify a bit … to see the actual files of the package on the system do:

pacman -Ql icecat

WORKED! Thank you very much, excellent advice :grin: