# Template file for 'libupnpp'
pkgname=libupnpp
version=1.0.3
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="expat-devel libcurl-devel libnpupnp-devel"
short_desc="C++ wrapper for libnpupnp"
maintainer="amak <amak.git@outlook.com>"
license="LGPL-2.1-or-later"
homepage="https://www.lesbonscomptes.com/upmpdcli"
changelog="https://www.lesbonscomptes.com/upmpdcli/pages/releases.html"
distfiles="https://www.lesbonscomptes.com/upmpdcli/downloads/libupnpp-${version}.tar.gz"
checksum=d3b201619a84837279dc46eeb7ccaaa7960d4372db11b43cf2b143b5d9bd322e

libupnpp-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} expat-devel libcurl-devel libnpupnp-devel"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
