void-packages/srcpkgs/ncmpc/template
Peter Bui f0b1f41e2e ncmpc: update to 0.28
- Upstream switched to meson for build system
- Include patch to fix auto-detecting of ncurses header

Closes: #7790 [via git-merge-pr]
2017-09-23 22:52:36 +00:00

19 lines
644 B
Bash

# Template file for 'ncmpc'
pkgname=ncmpc
version=0.28
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="ncurses-devel glib-devel libmpdclient-devel"
short_desc="Ncurses-based mpd client"
maintainer="Getty Ritter <gettyritter@gmail.com>"
license="GPL-2"
homepage="https://www.musicpd.org/clients/ncmpc/"
distfiles="https://www.musicpd.org/download/ncmpc/0/ncmpc-${version}.tar.xz"
checksum=f66e5b6fef83bdfda3b3efaf3fbad6a4d8c47bb1b3b6810bed44d3e35b007804
post_install() {
vmkdir usr/share/examples/ncmpc
mv ${DESTDIR}/usr/share/doc/ncmpc/{config.sample,keys.sample,ncmpc.lirc} \
${DESTDIR}/usr/share/examples/ncmpc/
}