# Template file for 'libvarlink'
pkgname=libvarlink
version=22
revision=1
build_style=meson
short_desc="C implementation of the Varlink protocol and command line tool"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="Apache-2.0"
homepage="https://varlink.org/"
distfiles="https://github.com/varlink/libvarlink/archive/refs/tags/${version}.tar.gz"
checksum=932c0d7c3d2d8acdf5878d8fd8006887c5855189688d19eb09125682740b99bb

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