[arch-commits] Commit in hunspell-el/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Tue Nov 17 16:44:47 UTC 2020


    Date: Tuesday, November 17, 2020 @ 16:44:46
  Author: andyrtr
Revision: 756798

upgpkg: hunspell-el 0.9-6: also fix file encoding inside *.aff files - FS#68481

Modified:
  hunspell-el/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-17 16:33:57 UTC (rev 756797)
+++ PKGBUILD	2020-11-17 16:44:46 UTC (rev 756798)
@@ -3,7 +3,7 @@
 
 pkgname=hunspell-el
 pkgver=0.9
-pkgrel=5
+pkgrel=6
 
 pkgdesc="Greek hunspell dictionary"
 url="http://elspell.math.upatras.gr"
@@ -48,7 +48,9 @@
 	cd "$pkgdir"/usr/share/hunspell
   	for file in el_GR.aff el_GR.dic; do
           mv $file $file.ISO-8859
-          iconv -f iso-8859-1 -t utf-8 $file.ISO-8859 -o $file
+          iconv -f iso-8859-7 -t utf-8 $file.ISO-8859 -o $file
+          # fix encoding in .aff files
+          sed -i "s/SET ISO8859-7/SET UTF-8/" $file
           rm $file.ISO-8859
         done
 }



More information about the arch-commits mailing list