void-packages/srcpkgs/cava-gui/template

26 lines
730 B
Bash

# Template file for 'cava-gui'
pkgname=cava-gui
version=0.6.1
revision=2
wrksrc="cava-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="SDL2-devel iniparser-devel ncurses-devel sndio-devel portaudio-devel"
short_desc="Console-based Audio Visualizer for ALSA (GUI branch)"
maintainer="nik123 <pavlica.nikola@gmail.com>"
license="MIT"
homepage="https://github.com/nikp123/cava"
distfiles="https://github.com/nikp123/cava/archive/${version}.tar.gz"
checksum=e639c55521e18786d15ac348c5130ca41637c10b0ef0a7aa340da1c62b9387f9
conflicts=cava
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense LICENSE
vmkdir usr/share/examples
vcopy example_files usr/share/examples/cava
}