# Template file for 'libscfg'
pkgname=libscfg
version=0.1.1
revision=1
build_style=meson
short_desc="C library for scfg, a simple configuration format"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="https://git.sr.ht/~emersion/libscfg"
changelog="https://git.sr.ht/~emersion/libscfg/refs"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=621a91bf233176e0052e9444f0a42696ad1bfda24b25c027c99cb6e693f273d7

post_install() {
	vlicense LICENSE
}

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