void-packages/srcpkgs/mpc/template
2018-02-11 17:25:42 -05:00

20 lines
700 B
Bash

# Template file for 'mpc'
pkgname=mpc
version=0.29
revision=1
build_style=meson
hostmakedepends="pkg-config python3-Sphinx"
makedepends="libmpdclient-devel"
short_desc="Minimalist command line interface to MPD"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.musicpd.org/clients/mpc/"
distfiles="http://www.musicpd.org/download/mpc/${version%.*}/mpc-${version}.tar.xz"
checksum=02f1daec902cb48f8cdaa6fe21c7219f6231b091dddbe437a3a4fb12cb07b9d3
post_install() {
vinstall contrib/mpc-completion.bash 644 usr/share/bash-completion/completions mpc
# Manpages installed on wrong path
mv "${DESTDIR}"/usr/share/man/man1/man/mpc.1 "${DESTDIR}"/usr/share/man/man1/mpc.1
}