it's not just you @electroprism - same issue on my end.
Not sure if it's me, but it wouldn't compile.
Makefile.am: installing './depcomp'
/usr/share/automake-1.17/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.17/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.17/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.17/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.17/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.17/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.17/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.17/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'cava-git-r957.395b36e-6':
error: packages failed to build: cava-git-r957.395b36e-6
please add autoconf-archive as make dependency because they use ax_check_gl to find and set up opengl build now
This works for me: https://gist.github.com/ltobler/f1cd3ed8c9ecd821fe7f
I tried the build() segment from https://gist.github.com/shaggytwodope/73dbe7a98fb860d2af77
The package builds, but when executing cava it fails with this error:
mkdir: cannot create directory ‘/usr/bin/.libs’: Permission denied
/usr/bin/ld: cannot open output file /usr/bin/.libs/8343-lt-cava: No such file or directory
collect2: error: ld returned 1 exit status
Why on earth would it even try to do such a thing?
EDIT: Because it additionally makedepends() on iniparser
Without iniparser installed, build stops at a stage where a shell script--named "cava"--fails to libtoolize the binary that will be saved with the same name ...in the same directory...
This is not noticed by makepkg, somehow, which proceeds to install the shell script--apparently part of the build procedure--as it is in the same place and uses the same filename as the final binary (which was never created).