[arch-commits] Commit in hunspell-pl/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Tue Nov 17 16:51:33 UTC 2020
Date: Tuesday, November 17, 2020 @ 16:51:33
Author: andyrtr
Revision: 756801
upgpkg: hunspell-pl 20201011-3: also fix file encoding inside *.aff files - FS#68481
Modified:
hunspell-pl/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-17 16:46:41 UTC (rev 756800)
+++ PKGBUILD 2020-11-17 16:51:33 UTC (rev 756801)
@@ -4,7 +4,7 @@
pkgname=hunspell-pl
pkgver=20201011
-pkgrel=2
+pkgrel=3
pkgdesc='Polish dictionary for Hunspell'
arch=('any')
url='https://www.sjp.pl/slownik/ort/'
@@ -22,7 +22,9 @@
# file -i $(pacman -Ql hunspell-de | sed "s/hunspell-de//") | grep iso
for file in pl_PL.aff pl_PL.dic; do
mv $file $file.ISO-8859
- iconv -f iso-8859-1 -t utf-8 $file.ISO-8859 -o $file
+ iconv -f iso-8859-2 -t utf-8 $file.ISO-8859 -o $file
+ # fix encoding in .aff files
+ sed -i "s/SET ISO8859-2/SET UTF-8/" $file
done
}
More information about the arch-commits
mailing list