void-packages/srcpkgs/libmpdclient/template

27 lines
716 B
Bash

# Template file for 'libmpdclient'
pkgname=libmpdclient
version=2.14
revision=1
build_style=meson
short_desc="Asynchronous API library for interfacing MPD"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
homepage="http://www.musicpd.org/libs/libmpdclient/"
distfiles="http://www.musicpd.org/download/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0a84e2791bfe3077cf22ee1784c805d5bb550803dffe56a39aa3690a38061372
post_install() {
vlicense COPYING
}
libmpdclient-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/vala
}
}