# Template file for 'mpc'
pkgname=mpc
version=0.30
revision=2
build_style=meson
configure_args="-Dtest=true -Ddocs=true"
hostmakedepends="pkg-config python3-Sphinx"
makedepends="libmpdclient-devel check-devel"
short_desc="Minimalist command line interface to MPD"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://www.musicpd.org/clients/mpc/"
#changelog="https://raw.githubusercontent.com/MusicPlayerDaemon/mpc/master/NEWS"
distfiles="http://www.musicpd.org/download/mpc/${version%.*}/mpc-${version}.tar.xz"
checksum=65fc5b0a8430efe9acbe6e261127960682764b20ab994676371bdc797d867fce

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