New package: cava-0.33 (close #2274).

This commit is contained in:
Juan RP 2015-09-26 07:18:40 +02:00
parent c015cef015
commit 1e39f95e28
1 changed files with 22 additions and 0 deletions

22
srcpkgs/cava/template Normal file
View File

@ -0,0 +1,22 @@
# Template file for 'Cava'
pkgname=cava
version=0.3.3
revision=1
makedepends="alsa-lib-devel fftw-devel ncurses-devel iniparser-devel"
short_desc="Console-based Audio Visualizer for ALSA"
maintainer="Jan Wey. <janwey.git@gmail.com>"
homepage="https://github.com/karlstav/cava"
license="MIT"
distfiles="https://github.com/karlstav/${pkgname}/archive/${version}.tar.gz"
checksum=188efe7f7bb4903cae3ef8e5fd6af6660c7115492f39315a97bdb9e3c95b4f77
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
}