void-packages/srcpkgs/aspell-de/template
2016-02-26 11:59:49 +01:00

26 lines
722 B
Bash

# Template file for 'aspell-de'
pkgname=aspell-de
version=20030222
revision=4
noarch=yes
wrksrc="aspell6-de-${version}-1"
build_style=configure
hostmakedepends="aspell-devel"
short_desc="German dictionary for aspell"
homepage="http://aspell.net/"
license="GPL-2"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
distfiles="${GNU_SITE}/aspell/dict/de/aspell6-de-${version}-1.tar.bz2"
checksum=ba6c94e11bc2e0e6e43ce0f7822c5bba5ca5ac77129ef90c190b33632416e906
words-de_package() {
short_desc="German dictionary word list"
noarch=yes
pkg_install() {
vmkdir usr/share/dict
precat *.cwl |
iconv --from-code=ISO-8859-1 --to-code=UTF-8 |
cut -d/ -f1 |
sort -u >${PKGDESTDIR}/usr/share/dict/ngerman
}
}