# Template file for 'cgif'
pkgname=cgif
version=0.5.3
revision=1
build_style=meson
short_desc="GIF encoder written in C"
maintainer="yosh <yosh-git@riseup.net>"
license="MIT"
homepage="https://github.com/dloebl/cgif"
distfiles="https://github.com/dloebl/cgif/archive/refs/tags/v${version}.tar.gz"
checksum=dcc7731e974ee77db75df26c99aca4d95f11ca2d267d870d42bce1e0d1e1e75f

post_install() {
	vlicense LICENSE
}

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