aspell-en: fix iconv for musl
This commit is contained in:
parent
456b681779
commit
a11f9e3e5c
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'aspell-en'
|
# Template file for 'aspell-en'
|
||||||
pkgname=aspell-en
|
pkgname=aspell-en
|
||||||
version=2017.01.22
|
version=2017.01.22
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="aspell6-en-${version}-0"
|
wrksrc="aspell6-en-${version}-0"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
|
@ -19,11 +19,11 @@ words-en_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmkdir usr/share/dict
|
vmkdir usr/share/dict
|
||||||
precat en-common.cwl en_US-wo_accents-only.cwl |
|
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 |
|
cut -d/ -f1 |
|
||||||
sort -u >${PKGDESTDIR}/usr/share/dict/american-english
|
sort -u >${PKGDESTDIR}/usr/share/dict/american-english
|
||||||
precat en-common.cwl en_GB-ise-wo_accents-only.cwl |
|
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 |
|
cut -d/ -f1 |
|
||||||
sort -u >${PKGDESTDIR}/usr/share/dict/british-english
|
sort -u >${PKGDESTDIR}/usr/share/dict/british-english
|
||||||
ln -s american-english ${PKGDESTDIR}/usr/share/dict/words
|
ln -s american-english ${PKGDESTDIR}/usr/share/dict/words
|
||||||
|
|
Loading…
Reference in New Issue