From a11f9e3e5c73bf60b7d494281129f57dfc6ee37a Mon Sep 17 00:00:00 2001 From: Duncaen Date: Mon, 23 Jan 2017 20:12:13 +0100 Subject: [PATCH] aspell-en: fix iconv for musl --- srcpkgs/aspell-en/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/aspell-en/template b/srcpkgs/aspell-en/template index c224b147b66..c8422aa5220 100644 --- a/srcpkgs/aspell-en/template +++ b/srcpkgs/aspell-en/template @@ -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