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

Andreas Radke andyrtr at archlinux.org
Tue Nov 17 16:32:46 UTC 2020


    Date: Tuesday, November 17, 2020 @ 16:32:46
  Author: andyrtr
Revision: 401311

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

Modified:
  hunspell-de/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-17 13:05:48 UTC (rev 401310)
+++ PKGBUILD	2020-11-17 16:32:46 UTC (rev 401311)
@@ -3,7 +3,7 @@
 
 pkgname=hunspell-de
 pkgver=20161207
-pkgrel=5
+pkgrel=6
 pkgdesc="German hunspell dictionaries"
 arch=('any')
 url="https://www.j3e.de/ispell/igerman98/"
@@ -28,6 +28,8 @@
                 de_DE.dic de_DE.aff README_de_DE.txt; do
       mv $file $file.ISO-8859
       iconv -f iso-8859-1 -t utf-8 $file.ISO-8859 -o $file
+      # fix encoding in .aff files
+      sed -i "s/ISO8859-1/UTF-8/" $file
     done
   popd
 }



More information about the arch-commits mailing list