void-packages/srcpkgs/libmpdclient/template

27 lines
762 B
Bash

# Template file for 'libmpdclient'
pkgname=libmpdclient
version=2.22
revision=1
build_style=meson
short_desc="Asynchronous API library for interfacing MPD"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause, BSD-3-Clause"
homepage="http://www.musicpd.org/libs/libmpdclient/"
distfiles="http://www.musicpd.org/download/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=eac15b82b5ba5ed0648af580221eb74657394f7fe768e966d9e9ebb27435429f
post_install() {
vlicense LICENSES/BSD-2-Clause.txt
vlicense LICENSES/BSD-3-Clause.txt
}
libmpdclient-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}