aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cava/APKBUILD
blob: 4c3865fc0f61b14d45b5deb386db8659b5582678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=cava
pkgver=0.6.1
pkgrel=0
pkgdesc="Console-based Audio Visualizer for ALSA"
url="https://karlstav.github.io/cava"
arch="all"
license="MIT"
depends="alsa-lib iniparser"
makedepends="autoconf automake libtool m4 fftw-dev ncurses-dev"
subpackages="$pkgname-static"
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="fb8a685f5c758ca1d95d3bbafadd4dbbf109592b6c3052b0821c2f69f3423e0af7657de4c3c1cdbd1523748bf56a09cbf706afa404051a6fba8139ca128ebecb  cava-0.6.1.tar.gz"