# Template file for 'libxcvt'
pkgname=libxcvt
version=0.1.1
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=meson
short_desc="VESA CVT standard timing modelines generator"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://gitlab.freedesktop.org/xorg/lib/libxcvt/"
distfiles="https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/archive/libxcvt-${version}/libxcvt-libxcvt-${version}.tar.gz"
checksum=2dc651a0944d1f0b95747a095e0ea16f870f12168d09d5200dac518d02273224

post_install() {
	vlicense COPYING
}

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