[arch-commits] Commit in hunspell-it/repos/extra-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Sep 8 11:26:17 UTC 2019


    Date: Sunday, September 8, 2019 @ 11:26:16
  Author: arojas
Revision: 362041

archrelease: copy trunk to extra-any

Added:
  hunspell-it/repos/extra-any/PKGBUILD
    (from rev 362040, hunspell-it/trunk/PKGBUILD)
Deleted:
  hunspell-it/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 50 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-08 11:25:45 UTC (rev 362040)
+++ PKGBUILD	2019-09-08 11:26:16 UTC (rev 362041)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=hunspell-it
-pkgver=2.4
-_pkgver=2_4
-_date=2007_09_01
-pkgrel=5
-pkgdesc="Italian dictionary for Hunspell"
-arch=('any')
-url="https://sourceforge.net/projects/linguistico/"
-license=('GPL3')
-makedepends=('hunspell')
-optdepends=('hunspell: the spell checking libraries and apps')
-source=("https://downloads.sourceforge.net/linguistico/italiano_${_pkgver}_${_date}.zip")
-md5sums=('e7fbd9e2dfb25ea3288cdb918e1e1260')
-
-build() {
-  # Fix dic file empty lines (FS#22275)
-  sed '/^\/$/d' -i it_IT.dic
-}
-
-package() {
-  install -d "${pkgdir}"/usr/share/hunspell
-
-  install -D -m644 it_IT.dic "${pkgdir}/usr/share/hunspell/it_IT.dic"
-  install -D -m644 it_IT.aff "${pkgdir}/usr/share/hunspell/it_IT.aff"
-
-  pushd "${pkgdir}"/usr/share/hunspell/
-  it_IT_aliases="it_CH"
-  for lang in $it_IT_aliases; do
-       ln -s it_IT.aff $lang.aff
-       ln -s it_IT.dic $lang.dic
-  done
-  popd
-
-  # the symlinks
-  install -d "${pkgdir}"/usr/share/myspell/dicts
-  pushd "${pkgdir}"/usr/share/myspell/dicts
-    for file in "${pkgdir}"/usr/share/hunspell/*; do
-      ln -sv /usr/share/hunspell/$(basename $file) .
-    done
-  popd
-}

Copied: hunspell-it/repos/extra-any/PKGBUILD (from rev 362040, hunspell-it/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-08 11:26:16 UTC (rev 362041)
@@ -0,0 +1,50 @@
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=hunspell-it
+pkgver=2.4
+_pkgver=2_4
+_date=2007_09_01
+pkgrel=6
+pkgdesc="Italian dictionary for Hunspell"
+arch=('any')
+url="https://sourceforge.net/projects/linguistico/"
+license=('GPL3')
+makedepends=('hunspell' 'qt5-webengine')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=("https://downloads.sourceforge.net/linguistico/italiano_${_pkgver}_${_date}.zip")
+md5sums=('e7fbd9e2dfb25ea3288cdb918e1e1260')
+
+build() {
+  # Fix dic file empty lines (FS#22275)
+  sed '/^\/$/d' -i it_IT.dic
+}
+
+package() {
+  install -d "${pkgdir}"/usr/share/hunspell
+
+  install -D -m644 it_IT.dic "${pkgdir}/usr/share/hunspell/it_IT.dic"
+  install -D -m644 it_IT.aff "${pkgdir}/usr/share/hunspell/it_IT.aff"
+
+  pushd "${pkgdir}"/usr/share/hunspell/
+  it_IT_aliases="it_CH"
+  for lang in $it_IT_aliases; do
+       ln -s it_IT.aff $lang.aff
+       ln -s it_IT.dic $lang.dic
+  done
+  popd
+
+  # the symlinks
+  install -d "${pkgdir}"/usr/share/myspell/dicts
+  pushd "${pkgdir}"/usr/share/myspell/dicts
+    for file in "${pkgdir}"/usr/share/hunspell/*; do
+      ln -sv /usr/share/hunspell/$(basename $file) .
+    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
+}


More information about the arch-commits mailing list