void-packages/srcpkgs/libmpdclient/template
2017-07-27 01:02:39 +00:00

26 lines
875 B
Bash

# Template file for 'libmpdclient'
pkgname=libmpdclient
version=2.13
revision=1
build_style=meson
short_desc="Asynchronous API library for interfacing MPD"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
hostmakedepends="meson"
homepage="http://www.musicpd.org/libs/libmpdclient/"
distfiles="http://www.musicpd.org/download/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5115bd52bc20a707c1ecc7587e6389c17305348e2132a66cf767c62fc55ed45d
# cross building with meson: http://mesonbuild.com/Cross-compilation.html
nocross="https://build.voidlinux.eu/builders/armv6l_builder/builds/4021/steps/shell_3/logs/stdio"
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
}
}