aspell-en: fix iconv for musl

This commit is contained in:
Duncaen 2017-01-23 20:12:13 +01:00
parent 456b681779
commit a11f9e3e5c
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'aspell-en'
pkgname=aspell-en
version=2017.01.22
revision=1
revision=2
noarch=yes
wrksrc="aspell6-en-${version}-0"
build_style=configure
@ -19,11 +19,11 @@ words-en_package() {
pkg_install() {
vmkdir usr/share/dict
precat en-common.cwl en_US-wo_accents-only.cwl |
iconv --from-code=ISO-8859-1 --to-code=UTF-8 |
iconv -f ISO-8859-1 -t UTF-8 |
cut -d/ -f1 |
sort -u >${PKGDESTDIR}/usr/share/dict/american-english
precat en-common.cwl en_GB-ise-wo_accents-only.cwl |
iconv --from-code=ISO-8859-1 --to-code=UTF-8 |
iconv -f ISO-8859-1 -t UTF-8 |
cut -d/ -f1 |
sort -u >${PKGDESTDIR}/usr/share/dict/british-english
ln -s american-english ${PKGDESTDIR}/usr/share/dict/words