# Template file for 'mpc'
pkgname=mpc
version=0.35
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=382959c3bfa2765b5346232438650491b822a16607ff5699178aa1386e3878d4

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