# Template file for 'libuninameslist'
pkgname=libuninameslist
version=20240910
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Library of Unicode names and annotation data"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="https://github.com/fontforge/libuninameslist"
distfiles="https://github.com/fontforge/libuninameslist/archive/${version}.tar.gz"
checksum=4795ac16d4e3cdd246f83e5cf70a8dd215eb075b4b247fef332b2717b4e9cc87

pre_configure() {
	autoreconf -fi
}

post_install() {
	vlicense LICENSE
}

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