void-packages/srcpkgs/cava/template

23 lines
683 B
Bash
Raw Normal View History

2015-09-26 07:18:40 +02:00
# Template file for 'Cava'
pkgname=cava
2015-10-06 08:46:14 +02:00
version=0.3.5
2015-09-26 07:18:40 +02:00
revision=1
makedepends="alsa-lib-devel fftw-devel ncurses-devel iniparser-devel"
short_desc="Console-based Audio Visualizer for ALSA"
2015-10-06 08:46:14 +02:00
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2015-09-26 07:18:40 +02:00
homepage="https://github.com/karlstav/cava"
license="MIT"
distfiles="https://github.com/karlstav/${pkgname}/archive/${version}.tar.gz"
2015-10-06 08:46:14 +02:00
checksum=667d695836a8cfa96060cbfce4f71aaf3c078b04a6e258196f75bd857837711b
2015-09-26 07:18:40 +02:00
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
}