diff --git a/srcpkgs/hunspell-ru_RU/template b/srcpkgs/hunspell-ru_RU/template new file mode 100644 index 00000000000..f8d06eadabf --- /dev/null +++ b/srcpkgs/hunspell-ru_RU/template @@ -0,0 +1,19 @@ +# Template file for 'hunspell-ru_RU' +pkgname=hunspell-ru_RU +version=0.4.0 +revision=1 +hostmakedepends="unzip" +short_desc="Russian dictionary for hunspell" +maintainer="Alexander Mamay " +license="LGPL-2.1" +homepage="http://extensions.libreoffice.org/extension-center/russian-spellcheck-dictionary.-based-on-works-of-aot-group" +distfiles="${homepage}/pscreleasefolder.2011-09-06.6209385965/${version}/dict_ru_ru-aot-0-4-0.oxt>dict-ru.zip" +checksum=f6278d61992f1998cc0ec2ca09610d6d8903eea489d1dcb5bb4fdc1ca8176c9f +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 +} diff --git a/srcpkgs/hunspell-ru_RU/update b/srcpkgs/hunspell-ru_RU/update new file mode 100644 index 00000000000..ad8ca51ed87 --- /dev/null +++ b/srcpkgs/hunspell-ru_RU/update @@ -0,0 +1 @@ +pattern="6209385965/\K[\d.]+"