aspell-de: include word list subpkg.

This commit is contained in:
Christian Neukirchen 2015-01-16 18:21:16 +01:00
parent e898a6b539
commit 6476d1b4d2

View File

@ -1,7 +1,7 @@
# Template file for 'aspell-de'
pkgname=aspell-de
version=20030222
revision=1
revision=2
noarch=yes
wrksrc="aspell6-de-${version}-1"
build_style=configure
@ -13,3 +13,15 @@ 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
}
}