void-packages/srcpkgs/aspell-ru/template
SolitudeSF 396d1bc416 New package: aspell-ru-0.99f7
Closes: #9935 [via git-merge-pr]
2017-12-13 08:40:11 +01:00

26 lines
695 B
Bash

# Template file for 'aspell-ru'
pkgname=aspell-ru
version=0.99f7
revision=1
noarch=yes
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"
noarch=yes
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
}
}