aboutsummaryrefslogblamecommitdiffstats
path: root/testing/cava/APKBUILD
blob: df52abd61bda4278f25b5a838f066ee5d5cd307e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                 

            
                                                 
                                      



                                                               

























                                                                                     
                                                                                                                                                                
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=cava
pkgver=0.7.3
pkgrel=0
pkgdesc="Console-based Audio Visualizer for ALSA"
url="https://github.com/karlstav/cava"
arch="all"
license="MIT"
depends="alsa-lib iniparser"
makedepends="autoconf automake libtool m4 fftw-dev ncurses-dev"
source="cava-$pkgver.tar.gz::https://github.com/karlstav/cava/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -fi
}

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="01b09afc801021c8979d72260fd3e3f40818ec22f56ec2081e1fcfb9dac1522afb0adb432519410cb71047de752e11137edfb23b392da08571f932f5a5d6b284  cava-0.7.3.tar.gz"