Build Script
default / cava
name='cava'
version='0.9.1'
release='1'
desc='Cross-platform Audio Visualizer'
homepage='https://github.com/karlstav/cava'
maintainer="karl stav <karl@stavestrand.no>"
architectures=('amd64')
license=('MIT')
provides=('cava')
conflicts=('cava')
deps=('ncurses')
build_deps=("build-essential" "libfftw3-dev" "libasound2-dev" "libncursesw5-dev" "libpulse-dev" "libtool" "automake" "autoconf-archive" "libiniparser-dev" "libsdl2-2.0-0" "libsdl2-dev" "libpipewire-0.3-dev" "pkgconf")
build_deps_arch=("base-devel" "fftw" "ncurses" "alsa-lib" "iniparser" "autoconf-archive" "pkgconf")
build_deps_artix=("base-devel" "fftw" "ncurses" "alsa-lib" "iniparser" "autoconf-archive" "pkgconf")
build_deps_opensuse=("alsa-devel" "ncurses-devel" "fftw3-devel" "libpulse-devel" "libtool" "autoconf-archive" "pkgconf")
sources=("git+https://github.com/karlstav/cava.git?~rev=${version}")
checksums=('SKIP')
build() {
cd "$srcdir/cava"
./autogen.sh
./configure
make
}
package() {
install-binary "${srcdir}/cava/cava"
}