When trying to install a few programs from AUR recently using baph -ia, I have been getting this error message (or similar that says the error was in build instead of prepare).
(I truncated the file loading return that showed no errors or issues at all)
:: View/Edit the PKGBUILD for abiword-gtk2? [Y/n] n
==> Making package: abiword-gtk2 3.0.4-1 (Mon 30 Nov 2020 12:10:54 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading abiword-3.0.4.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 340 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10.5M 100 10.5M 0 0 1733k 0 0:00:06 0:00:06 --:--:-- 2440k
-> Found enchant-2.patch
==> Validating source files with sha256sums...
abiword-3.0.4.tar.gz ... Passed
enchant-2.patch ... Passed
==> Extracting sources...
-> Extracting abiword-3.0.4.tar.gz with bsdtar
==> Starting prepare()...
/home/drew/.cache/baph/builds/abiword-gtk2/PKGBUILD: line 24: patch: command not found
==> ERROR: A failure occurred in prepare().
Aborting...
:: Exited abiword-gtk2 build early
[drew@archlabs-drew ~]$
What can I do to correct this?