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

Antonio Rojas arojas at archlinux.org
Sun Sep 8 11:35:23 UTC 2019


    Date: Sunday, September 8, 2019 @ 11:35:23
  Author: arojas
Revision: 362047

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |   85 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 46 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-08 11:35:05 UTC (rev 362046)
+++ PKGBUILD	2019-09-08 11:35:23 UTC (rev 362047)
@@ -1,39 +0,0 @@
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-
-pkgname=hunspell-fr
-pkgver=6.3
-pkgrel=1
-pkgdesc='French (modern) hunspell dictionaries'
-arch=(any)
-url='https://grammalecte.net/download.php?prj=fr'
-license=('MPL2')
-optdepends=('hunspell: the spell checking libraries and apps')
-source=("https://grammalecte.net/download/fr/${pkgname/-fr/}-french-dictionaries-v${pkgver}.zip")
-sha256sums=('cc6c2d15073659d221487b45245e9eee9a4ed66c30c6dcf784326bab063c5266')
-
-package() {
-  cd "${srcdir}"
-  install -dm755 "${pkgdir}"/usr/share/hunspell
-  install -m644 fr-moderne.dic "${pkgdir}"/usr/share/hunspell/fr_FR.dic
-  install -m644 fr-moderne.aff "${pkgdir}"/usr/share/hunspell/fr_FR.aff
-
-  pushd "${pkgdir}"/usr/share/hunspell/
-  fr_FR_aliases="fr_BE fr_CA fr_CH fr_LU"
-  for lang in ${fr_FR_aliases}; do
-    ln -s fr_FR.aff ${lang}.aff
-    ln -s fr_FR.dic ${lang}.dic
-  done
-
-  popd
-
-  # the symlinks
-  install -dm755 "${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
-
-  # docs
-  install -Dm644 README_dict_fr.txt "${pkgdir}"/usr/share/doc/${pkgname}/README_dict_fr.txt
-}

Copied: hunspell-fr/repos/extra-any/PKGBUILD (from rev 362046, hunspell-fr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-08 11:35:23 UTC (rev 362047)
@@ -0,0 +1,46 @@
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+
+pkgname=hunspell-fr
+pkgver=6.4.1
+pkgrel=1
+pkgdesc='French (modern) hunspell dictionaries'
+arch=(any)
+url='https://grammalecte.net/download.php?prj=fr'
+license=('MPL2')
+makedepends=('qt5-webengine')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=("https://grammalecte.net/download/fr/${pkgname/-fr/}-french-dictionaries-v${pkgver}.zip")
+sha256sums=('744e77a3bd115144fa3131485231638d41c21e65ed757bfc576ccec1dcc9c6cc')
+
+package() {
+  install -dm755 "${pkgdir}"/usr/share/hunspell
+  install -m644 fr-moderne.dic "${pkgdir}"/usr/share/hunspell/fr_FR.dic
+  install -m644 fr-moderne.aff "${pkgdir}"/usr/share/hunspell/fr_FR.aff
+
+  pushd "${pkgdir}"/usr/share/hunspell/
+  fr_FR_aliases="fr_BE fr_CA fr_CH fr_LU"
+  for lang in ${fr_FR_aliases}; do
+    ln -s fr_FR.aff ${lang}.aff
+    ln -s fr_FR.dic ${lang}.dic
+  done
+
+  popd
+
+  # the symlinks
+  install -dm755 "${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
+
+  # docs
+  install -Dm644 README_dict_fr.txt "${pkgdir}"/usr/share/doc/${pkgname}/README_dict_fr.txt
+
+# 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