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

Andreas Radke andyrtr at archlinux.org
Mon Nov 16 09:24:30 UTC 2020


    Date: Monday, November 16, 2020 @ 09:24:30
  Author: andyrtr
Revision: 401247

upgpkg: hunspell-de 20161207-5: fix file encoding - FS#68481

Modified:
  hunspell-de/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-16 08:40:35 UTC (rev 401246)
+++ PKGBUILD	2020-11-16 09:24:30 UTC (rev 401247)
@@ -3,7 +3,7 @@
 
 pkgname=hunspell-de
 pkgver=20161207
-pkgrel=4
+pkgrel=5
 pkgdesc="German hunspell dictionaries"
 arch=('any')
 url="https://www.j3e.de/ispell/igerman98/"
@@ -18,6 +18,18 @@
   make hunspell/de_AT.dic hunspell/de_AT.aff \
        hunspell/de_CH.dic hunspell/de_CH.aff \
        hunspell/de_DE.dic hunspell/de_DE.aff
+
+  # fix file encoding - FS#68481
+  # check for broken files using
+  # file -i  $(pacman -Ql hunspell-de | sed "s/hunspell-de//") | grep iso
+  pushd hunspell
+    for file in de_AT.dic de_AT.aff README_de_AT.txt \
+                de_CH.dic de_CH.aff README_de_CH.txt \
+                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
+    done
+  popd
 }
 
 package() {



More information about the arch-commits mailing list