7660b34c20
aspell dictionnaries aren't architecture dependent: the dictionnary format depends on size_t, therefor it needs to be made architecture specific. This is why the dictionaries are stored in /usr/lib and not in /usr/share. This fixes the aspell-ru package on amd64 and probably most 64bits architectures. More information about this: http://aspell.net/0.61/man-html/Using-32_002dBit-Dictionaries-on-a-64_002dBit-System.html
25 lines
703 B
Bash
25 lines
703 B
Bash
# Template file for 'aspell-ru'
|
|
pkgname=aspell-ru
|
|
version=0.99f7
|
|
revision=2
|
|
wrksrc="aspell6-ru-${version}-1"
|
|
build_style=configure
|
|
hostmakedepends="aspell-devel which"
|
|
short_desc="Russian dictionary for aspell"
|
|
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://aspell.net/"
|
|
distfiles="${GNU_SITE}/aspell/dict/ru/aspell6-ru-${version}-1.tar.bz2"
|
|
checksum=5c29b6ccce57bc3f7c4fb0510d330446b9c769e59c92bdfede27333808b6e646
|
|
|
|
words-ru_package() {
|
|
short_desc="Russian dictionary word list"
|
|
archs=noarch
|
|
pkg_install() {
|
|
vmkdir usr/share/dict
|
|
precat *.cwl |
|
|
iconv -f KOI8-R -t UTF-8 |
|
|
cut -d/ -f1 |
|
|
sort -u >${PKGDESTDIR}/usr/share/dict/russian
|
|
}
|
|
}
|