# Template file for 'libjodycode'
pkgname=libjodycode
version=4.1.2
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://codeberg.org/jbruchon/libjodycode"
changelog="https://codeberg.org/jbruchon/libjodycode/raw/branch/master/CHANGES.txt"
distfiles="https://codeberg.org/jbruchon/libjodycode/archive/v${version}.tar.gz"
checksum=a7085da591e0c314eb3442e7b258a6b6944e6978ecb2764ab33f3cb840f47ff4

post_install() {
	vlicense LICENSE.txt
}

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