# Template file for 'hunspell-ru_RU'
pkgname=hunspell-ru_RU
version=0.4.1
revision=1
hostmakedepends="unzip"
short_desc="Russian dictionary for hunspell"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="LGPL-2.1-only"
homepage="https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group"
distfiles="https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group/${version/./-}/@@download/file/dict_ru_ru-aot-${version}.oxt>dict-ru.zip"
checksum=341c5d92c80ae17adecfb9743e040c5e39cbfb78801ad58e44b5787e166106d9
create_wrksrc=yes
noarch=yes

do_install() {
	vinstall russian-aot.aff 644 usr/share/hunspell ru_RU.aff
	vinstall russian-aot.dic 644 usr/share/hunspell ru_RU.dic
	vlicense copyright.txt
}
