void-packages/srcpkgs/cli-visualizer/template

23 lines
711 B
Bash

# Template file for 'cli-visualizer'
pkgname=cli-visualizer
version=1.8
revision=2
build_style=cmake
configure_args="-DCXX_COLOR_SUPPORTED=NO"
makedepends="fftw-devel ncurses-devel $(vopt_if pulseaudio 'pulseaudio-devel')"
short_desc="CLI based audio visualizer"
maintainer="Jasper Chan <jasperchan515@gmail.com>"
license="MIT"
homepage="https://github.com/dpayne/cli-visualizer"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=927e4c18403c7a40397e8698ffefd1b37250be20fa0ec55fda9a82cf9cc8ba51
build_options="pulseaudio"
build_options_default="pulseaudio"
post_install() {
vlicense LICENSE
# package 'vis' has rights to /usr/bin/vis
mv ${DESTDIR}/usr/bin/vis ${DESTDIR}/usr/bin/cli-visualizer
}