# Template file for 'mpc'
pkgname=mpc
version=0.34
revision=1
build_style=meson
configure_args="-Dtest=true -Ddocumentation=enabled"
hostmakedepends="pkg-config python3-Sphinx"
makedepends="libmpdclient-devel check-devel"
short_desc="Minimalist command line interface to MPD"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.musicpd.org/clients/mpc/"
#changelog="https://raw.githubusercontent.com/MusicPlayerDaemon/mpc/master/NEWS"
distfiles="https://www.musicpd.org/download/mpc/${version%.*}/mpc-${version}.tar.xz"
checksum=691e3f3654bc10d022bb0310234d0bc2d8c075a698f09924d9ebed8f506fda20

post_install() {
	vinstall contrib/mpc-completion.bash 644 usr/share/bash-completion/completions mpc
}
