blob: aac8de3af581a208a50e3b023016f081a42bc277 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $Id$
pkgname=hunspell-ru-aot
_realname=dict_ru_ru-aot
pkgver=0.4.5
pkgrel=1
pkgdesc="Russian spellcheck dictionary. Based on works of AOT.ru group. Dictionary «only yo»."
provides=('hunspell-ru')
conflicts=('hunspell-ru')
replaces=('hunspell-ru')
arch=(any)
#url="https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group"
url="https://extensions.libreoffice.org/en/extensions/show/russian-spellcheck-dictionary.-based-on-works-of-aot-group"
license=('LGPL')
optdepends=('hunspell: the spell checking libraries and apps')
source=(https://extensions.libreoffice.org/assets/downloads/48/${_realname}-${pkgver}.oxt)
sha256sums=('dfba6bf1c50e41653d720fc9bc5806232600c13a00730240b8d5d192af1ee1be')
package() {
install -dm755 ${pkgdir}/usr/share/hunspell
install -m 644 russian-aot.dic $pkgdir/usr/share/hunspell/ru_RU.dic
install -m 644 russian-aot.aff $pkgdir/usr/share/hunspell/ru_RU.aff
# the symlinks
install -dm755 ${pkgdir}/usr/share/myspell/dicts
pushd $pkgdir/usr/share/myspell/dicts
for file in $pkgdir/usr/share/hunspell/*; do
ln -sv /usr/share/hunspell/$(basename $file) .
done
popd
# docs
install -dm755 ${pkgdir}/usr/share/doc/$pkgname
install -m 644 copyright.txt $pkgdir/usr/share/doc/$pkgname
install -m 644 lgpl.txt $pkgdir/usr/share/doc/$pkgname
}
|