3 pkgname=hunspell-ru-aot
4 _realname=dict_ru_ru-aot
7 pkgdesc="Russian spellcheck dictionary. Based on works of AOT.ru group"
8 provides=('hunspell-ru')
9 conflicts=('hunspell-ru')
10 replaces=('hunspell-ru')
12 url="http://extensions.libreoffice.org/extension-center/russian-spellcheck-dictionary.-based-on-works-of-aot-group"
14 optdepends=('hunspell: the spell checking libraries and apps')
15 source=(http://extensions.libreoffice.org/extension-center/russian-spellcheck-dictionary.-based-on-works-of-aot-group/pscreleasefolder.2011-09-06.6209385965/${pkgver}/${_realname}-${pkgver}.oxt)
16 md5sums=('df6156192ddeaf487bf55c52f955923c')
24 install -dm755 ${pkgdir}/usr/share/hunspell
25 install -m 644 russian-aot.dic $pkgdir/usr/share/hunspell/ru_RU_aot.dic
26 install -m 644 russian-aot.aff $pkgdir/usr/share/hunspell/ru_RU_aot.aff
29 install -dm755 ${pkgdir}/usr/share/myspell/dicts
30 pushd $pkgdir/usr/share/myspell/dicts
31 for file in $pkgdir/usr/share/hunspell/*; do
32 ln -sv /usr/share/hunspell/$(basename $file) .
37 install -dm755 ${pkgdir}/usr/share/doc/$pkgname
38 install -m 644 copyright.txt $pkgdir/usr/share/doc/$pkgname
39 install -m 644 lgpl.txt $pkgdir/usr/share/doc/$pkgname