# Template file for 'libjodycode'
pkgname=libjodycode
version=2.0.1
revision=1
build_style=gnu-makefile
make_use_env=yes
short_desc="Shared code used by several utilities written by Jody Bruchon"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="MIT"
homepage="https://github.com/jbruchon/libjodycode"
changelog="https://raw.githubusercontent.com/jbruchon/libjodycode/master/CHANGES"
distfiles="https://github.com/jbruchon/libjodycode/archive/refs/tags/v${version}.tar.gz"
checksum=1fdd106ab4d90aa1c0a2546299144f62d18b90acada2d6ee25370c4907048927

post_install() {
	vlicense LICENSE
}

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