[arch-commits] Commit in hunspell-it/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Tue Nov 17 16:40:14 UTC 2020
Date: Tuesday, November 17, 2020 @ 16:40:14
Author: andyrtr
Revision: 401313
upgpkg: hunspell-it 2.4-9: also fix file encoding inside *.aff files - FS#68481/68647
Modified:
hunspell-it/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-17 16:32:55 UTC (rev 401312)
+++ PKGBUILD 2020-11-17 16:40:14 UTC (rev 401313)
@@ -4,7 +4,7 @@
pkgver=2.4
_pkgver=2_4
_date=2007_09_01
-pkgrel=8
+pkgrel=9
pkgdesc="Italian dictionary for Hunspell"
arch=('any')
url="https://sourceforge.net/projects/linguistico/"
@@ -23,7 +23,9 @@
# file -i $(pacman -Ql hunspell-it | sed "s/hunspell-it//") | grep iso
for file in it_IT.aff it_IT.dic; do
mv $file $file.ISO-8859
- iconv -f iso-8859-1 -t utf-8 $file.ISO-8859 -o $file
+ iconv -f iso-8859-15 -t utf-8 $file.ISO-8859 -o $file
+ # fix encoding in .aff files
+ sed -i "s/ISO8859-15/UTF-8/" $file
done
}
More information about the arch-commits
mailing list