void-packages/srcpkgs/aspell-de/template

24 lines
660 B
Bash

# Template file for 'aspell-de'
pkgname=aspell-de
version=20161207.7.0
revision=3
build_style=configure
hostmakedepends="aspell-devel which"
short_desc="German dictionary for aspell"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://aspell.net/"
distfiles="${GNU_SITE}/aspell/dict/de/aspell6-de-${version//./-}.tar.bz2"
checksum=c2125d1fafb1d4effbe6c88d4e9127db59da9ed92639c7cbaeae1b7337655571
words-de_package() {
short_desc="German dictionary word list"
pkg_install() {
vmkdir usr/share/dict
precat *.cwl |
iconv -f ISO-8859-1 -t UTF-8 |
cut -d/ -f1 |
sort -u >${PKGDESTDIR}/usr/share/dict/ngerman
}
}