void-packages/srcpkgs/ncmpc/template

22 lines
802 B
Bash

# Template file for 'ncmpc'
pkgname=ncmpc
version=0.42
revision=1
build_style=meson
configure_args="-Dlirc=disabled"
hostmakedepends="pkg-config python3-Sphinx"
makedepends="boost-devel libmpdclient-devel ncurses-devel pcre-devel"
short_desc="Ncurses-based mpd client"
maintainer="Getty Ritter <gettyritter@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.musicpd.org/clients/ncmpc/"
changelog="https://raw.githubusercontent.com/MusicPlayerDaemon/ncmpc/v${version}/NEWS"
distfiles="https://www.musicpd.org/download/ncmpc/0/ncmpc-${version}.tar.xz"
checksum=a5f7471d766a71c222374efa4aa17ef6ee0e42ad48d15528edd935d1f0f6cd4d
post_install() {
vmkdir usr/share/examples/ncmpc
mv ${DESTDIR}/usr/share/doc/ncmpc/{config.sample,keys.sample,ncmpc.lirc} \
${DESTDIR}/usr/share/examples/ncmpc/
}