# Template file for 'libuninameslist'
pkgname=libuninameslist
version=20221022
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=eb9e77ef3f4212f42e82004f04dd7766d4c153faa22c6b379c0a1516d6370a7c

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
	}
}
