void-packages/srcpkgs/cava/template
2015-10-06 08:46:14 +02:00

22 lines
683 B
Bash

# Template file for 'Cava'
pkgname=cava
version=0.3.5
revision=1
makedepends="alsa-lib-devel fftw-devel ncurses-devel iniparser-devel"
short_desc="Console-based Audio Visualizer for ALSA"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/karlstav/cava"
license="MIT"
distfiles="https://github.com/karlstav/${pkgname}/archive/${version}.tar.gz"
checksum=667d695836a8cfa96060cbfce4f71aaf3c078b04a6e258196f75bd857837711b
do_configure() {
sed -i 's,iniparser4,iniparser,g' makefile
}
do_build() {
make CC=$CC SYSTEM_INIPARSER=1 PREFIX=${DESTDIR}/usr ${makejobs}
}
do_install() {
make CC=$CC SYSTEM_INIPARSER=1 PREFIX=${DESTDIR}/usr install
vlicense LICENSE
}