void-packages/srcpkgs/libmpdclient/template
2018-09-06 10:21:42 -03:00

26 lines
716 B
Bash

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