void-packages/srcpkgs/libmpdclient/template
2020-01-31 14:51:44 +01:00

26 lines
717 B
Bash

# Template file for 'libmpdclient'
pkgname=libmpdclient
version=2.18
revision=1
build_style=meson
short_desc="Asynchronous API library for interfacing MPD"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://www.musicpd.org/libs/libmpdclient/"
distfiles="http://www.musicpd.org/download/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=4cb01e1f567e0169aca94875fb6e1200e7f5ce35b63a4df768ec1591fb1081fa
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
}
}