# Template file for 'uhttpmock'
pkgname=uhttpmock
version=0.5.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="glib-devel libsoup-devel"
short_desc="HTTP web service mocking project for projects which use libsoup"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="https://gitlab.com/uhttpmock/uhttpmock"
distfiles="http://tecnocode.co.uk/downloads/uhttpmock/$pkgname-$version.tar.xz"
checksum=a6a34a011db142a98473b492039c84468d575f416689484f1f82a84927f17798

uhttpmock-devel_package() {
	short_desc+=" - development files"
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}
