void-packages/srcpkgs/mpc/template

20 lines
743 B
Bash

# Template file for 'mpc'
pkgname=mpc
version=0.31
revision=2
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="maxice8 <thinkabit.ukim@gmail.com>"
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=62373e83a8a165b2ed43967975efecd3feee530f4557d6b861dd08aa89d52b2d
post_install() {
vinstall contrib/mpc-completion.bash 644 usr/share/bash-completion/completions mpc
}