# Template file for 'libdatrie'
pkgname=libdatrie
version=0.2.14
revision=1
build_style=gnu-configure
short_desc="Implementation of double-array structure for representing trie"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="LGPL-2.1-or-later"
homepage="https://linux.thai.net/projects/datrie"
changelog="https://raw.githubusercontent.com/tlwg/libdatrie/master/NEWS"
distfiles="https://linux.thai.net/pub/ThaiLinux/software/libthai/libdatrie-${version}.tar.xz"
checksum=f04095010518635b51c2313efa4f290b7db828d6273e39b2b8858f859dfe81d5

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