# Template file for 'hunspell-pl_PL'
pkgname=hunspell-pl_PL
version=20220501
revision=1
create_wrksrc=yes
short_desc="Polish dictionary for hunspell"
maintainer="m-cz <emcze@ya.ru>"
license="GPL-2.0-only, LGPL-2.1-only, CC-BY-4.0, MPL-1.1, Apache-2.0"
homepage="https://sjp.pl/slownik/ort/"
distfiles="https://sjp.pl/slownik/ort/sjp-myspell-pl-${version}.zip"
checksum=fd715b1facddfd680b8779f6f671a6763a0bf3b31f6e5909d52926ac27f7f1c7

post_extract() {
	bsdtar -xf pl_PL.zip
}

do_install() {
	vinstall pl_PL.aff 644 usr/share/hunspell
	vinstall pl_PL.dic 644 usr/share/hunspell
	vlicense README_pl_PL.txt
}
