aports/testing/cava/APKBUILD

52 lines
919 B
Text

# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=cava
pkgver=0.10.4
pkgrel=1
pkgdesc="Console-based Audio Visualizer"
url="https://github.com/karlstav/cava"
arch="all"
license="MIT"
makedepends="
alsa-lib-dev
autoconf
automake
fftw-dev
iniparser-dev
libtool
m4
ncurses-dev
pipewire-dev
pulseaudio-dev
sdl2-dev
xxd
"
source="cava-$pkgver.tar.gz::https://github.com/karlstav/cava/archive/$pkgver.tar.gz"
prepare() {
default_prepare
./autogen.sh
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
c0f1d40e6d3c7b06e2ebc9e4c80bd8b6b88b6fdcd083c30648fca34128e4349a46352a7526613ccbf6421eac29eb5778f396e47f74a03691224cf2d969872113 cava-0.10.4.tar.gz
"