From 22c4ab2b3c3e6adbdecce8bd4826ba3dbb0428cf Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 23 Jan 2016 22:58:21 +0100 Subject: [PATCH] cava: update to 0.4.0. --- srcpkgs/cava/template | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/srcpkgs/cava/template b/srcpkgs/cava/template index a216f51f5c..e9465dffba 100644 --- a/srcpkgs/cava/template +++ b/srcpkgs/cava/template @@ -1,22 +1,21 @@ # Template file for 'Cava' pkgname=cava -version=0.3.5 +version=0.4.0 revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" makedepends="alsa-lib-devel fftw-devel ncurses-devel iniparser-devel" short_desc="Console-based Audio Visualizer for ALSA" maintainer="Juan RP " homepage="https://github.com/karlstav/cava" license="MIT" distfiles="https://github.com/karlstav/${pkgname}/archive/${version}.tar.gz" -checksum=667d695836a8cfa96060cbfce4f71aaf3c078b04a6e258196f75bd857837711b +checksum=eee71544859ec652fe9163148526736c83754d96cdf65626467b1005103aabb9 -do_configure() { - sed -i 's,iniparser4,iniparser,g' makefile +pre_configure() { + ./autogen.sh } -do_build() { - make CC=$CC SYSTEM_INIPARSER=1 PREFIX=${DESTDIR}/usr ${makejobs} -} -do_install() { - make CC=$CC SYSTEM_INIPARSER=1 PREFIX=${DESTDIR}/usr install + +post_install() { vlicense LICENSE }