# Template file for 'fasttext-lid'
pkgname=fasttext-lid
version=0.9.2
revision=1
build_style=fetch
short_desc="FastText Language identification model"
maintainer="John <me@johnnynator.dev>"
license="CC-BY-SA-3.0"
homepage="https://fasttext.cc/docs/en/language-identification.html"
distfiles="https://dl.fbaipublicfiles.com/fasttext/supervised-models/lid.176.bin"
checksum="7e69ec5451bc261cc7844e49e4792a85d7f09c06789ec800fc4a44aec362764e"

do_install() {
	vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/lid.176.bin 644 usr/share/fasttext
}
