summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoon Sungjoon2021-08-19 23:49:09 +0900
committerMoon Sungjoon2021-08-19 23:49:09 +0900
commit049086c0f71049a5f425c3f41504b866c38a7af7 (patch)
treee4a70f0486ea1da40edfc8009394255732c06e2a
parent2480dee5e6ab0975ccd37fece5d166de044cb2d8 (diff)
downloadaur-049086c0f71049a5f425c3f41504b866c38a7af7.tar.gz
Remove qtwebengine dict convert
This dictionary can't be converted to qtwebengine dict, so coverting part removed.
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD26
2 files changed, 14 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b822aa4e32c..9aa71152f30 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,7 +5,6 @@ pkgbase = hunspell-ko
url = https://github.com/spellcheck-ko/hunspell-dict-ko
arch = any
license = GPL3
- makedepends = qt5-webengine
optdepends = hunspell: the spell checking libraries and apps
source = https://github.com/spellcheck-ko/hunspell-dict-ko/releases/download/0.7.92/ko-aff-dic-0.7.92.zip
sha512sums = 300e574c7221841801f0d4b114abaa3b15196b69cb25f98ed784c820d125bd60e6fe6ca6cc76dca07de9382e957acd4bc337fa87b84f809b13f703ebe47baa45
diff --git a/PKGBUILD b/PKGBUILD
index 4535c6e18e1..3224bef9c58 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: OctopusET
+# Maintainer: Moon Sungjoon <sumoon at seoulsaram dot com>
pkgname=hunspell-ko
pkgver=0.7.92
@@ -7,29 +7,31 @@ pkgdesc="Korean hunspell dictionary"
arch=('any')
url='https://github.com/spellcheck-ko/hunspell-dict-ko'
license=('GPL3')
-makedepends=('qt5-webengine')
+#makedepends=('qt5-webengine')
optdepends=('hunspell: the spell checking libraries and apps')
source=(https://github.com/spellcheck-ko/hunspell-dict-ko/releases/download/${pkgver}/ko-aff-dic-${pkgver}.zip)
sha512sums=('300e574c7221841801f0d4b114abaa3b15196b69cb25f98ed784c820d125bd60e6fe6ca6cc76dca07de9382e957acd4bc337fa87b84f809b13f703ebe47baa45')
package() {
cd "$srcdir/ko-aff-dic-$pkgver"
- install -vDm 644 ko.dic ko.aff -t "$pkgdir/usr/share/hunspell"
+ install -dm755 "${pkgdir}/usr/share/hunspell"
+ install -m644 ko.dic "${pkgdir}"/usr/share/hunspell
+ install -m644 ko.aff "${pkgdir}"/usr/share/hunspell
pushd "$pkgdir/usr/share/hunspell/"
ko_KR_aliases="ko_KR"
for lang in $ko_KR_aliases; do
- ln -s ko_KR.aff $lang.aff
- ln -s ko_KR.dic $lang.dic
+ ln -s ko.aff $lang.aff
+ ln -s ko.dic $lang.dic
done
popd
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
- for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename="$(basename "$_file")"
- qwebengine_convert_dict "$_file" "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
- done
+ # Install webengine dictionaries (not able to convert)
+# install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+# for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
+# _filename="$(basename "$_file")"
+# qwebengine_convert_dict "$_file" "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+# done
# myspell symlinks
install -dm755 "${pkgdir}"/usr/share/myspell/dicts
@@ -41,5 +43,5 @@ package() {
# licenses
install -Dm644 LICENSE.md $pkgdir/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 LICENSE.GPL-3 $pkgdir/usr/share/licenses/$pkgname/LICENSE.GPL-3
+ #install -Dm644 LICENSE.GPL-3 $pkgdir/usr/share/licenses/$pkgname/LICENSE.GPL-3
}