# Template file for 'libjodycode'
pkgname=libjodycode
version=3.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.txt"
distfiles="https://github.com/jbruchon/libjodycode/archive/refs/tags/v${version}.tar.gz"
checksum=e02aa4b96577fb5b6ca26018759cdaf71e3768dac321c07a84f2fb93ca4871bf

post_install() {
	vlicense LICENSE.txt
}

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