27 lines
699 B
Bash
27 lines
699 B
Bash
# Template file for 'aspell-ru'
|
|
pkgname=aspell-ru
|
|
version=0.99f7
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="aspell6-ru-${version}-1"
|
|
build_style=configure
|
|
hostmakedepends="aspell-devel"
|
|
short_desc="Russian dictionary for aspell"
|
|
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
|
license="GPL-2"
|
|
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
|
|
}
|
|
}
|