diff options
author | Jake | 2021-08-23 21:51:52 +0200 |
---|---|---|
committer | Jake | 2021-08-23 21:51:52 +0200 |
commit | d9c0994960924e69a238d22537a95fef09198c40 (patch) | |
tree | 14b5b248d419de7b9b3957e0ee209f7da088b107 | |
parent | 0139b20bc92e808053abf13be2df279a0ba1a931 (diff) | |
download | aur-keepassxc-wordlists-hunspell.tar.gz |
Remove encoding conversion
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = keepassxc-wordlists-hunspell pkgdesc = Wordlists generated from system Hunspell dicts for keepassxc pkgver = 1.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/wooorm/dictionaries arch = any license = GPL @@ -1,7 +1,7 @@ # Maintainer: Jake <aur@ja-ke.tech> pkgname=keepassxc-wordlists-hunspell pkgver=1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Wordlists generated from system Hunspell dicts for keepassxc" arch=('any') url="https://github.com/wooorm/dictionaries" @@ -35,7 +35,7 @@ for ((i = 0; i < ${#_lang[@]}; ++i)); do if [ -f /usr/share/hunspell/$file ]; then #Strip everything but the words and convert to UTF-8 - tail -n +${_front[$i]} /usr/share/hunspell/$file |iconv -f ISO-8859-15 -t UTF-8 | sed -r 's/\/.+//g' > $srcdir/$file.txt + tail -n +${_front[$i]} /usr/share/hunspell/$file | sed -r 's/\/.+//g' > $srcdir/$file.txt echo "Converted "$file"!" else echo "("$file" not found)" |