[arch-commits] Commit in hunspell-fr/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Sat Dec 19 19:53:24 UTC 2020


    Date: Saturday, December 19, 2020 @ 19:53:23
  Author: archange
Revision: 780013

upgpkg: hunspell-fr 7.0-1

Modified:
  hunspell-fr/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-19 19:16:27 UTC (rev 780012)
+++ PKGBUILD	2020-12-19 19:53:23 UTC (rev 780013)
@@ -1,21 +1,20 @@
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
 
 pkgname=hunspell-fr
-pkgver=6.4.1
-pkgrel=2
-pkgdesc='French (modern) hunspell dictionaries'
+pkgver=7.0
+pkgrel=1
+pkgdesc="French (classic/modern) hunspell dictionaries"
 arch=(any)
-url='https://grammalecte.net/download.php?prj=fr'
-license=('MPL2')
-makedepends=('qt5-webengine')
+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')
+sha256sums=('eb7ac36dc14b9c3e3c0cabae0f90304a137da8e6ae607bcaf56d65720fbd097f')
 
 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
+  install -Dm644 fr-classique.dic "${pkgdir}"/usr/share/hunspell/fr_FR.dic
+  install -Dm644 fr-classique.aff "${pkgdir}"/usr/share/hunspell/fr_FR.aff
 
   pushd "${pkgdir}"/usr/share/hunspell/
   fr_FR_aliases="fr_BE fr_CA fr_CH fr_LU"
@@ -23,7 +22,6 @@
     ln -s fr_FR.aff ${lang}.aff
     ln -s fr_FR.dic ${lang}.dic
   done
-
   popd
 
   # the symlinks
@@ -35,12 +33,12 @@
   popd
 
   # docs
-  install -Dm644 README_dict_fr.txt "${pkgdir}"/usr/share/doc/${pkgname}/README_dict_fr.txt
+  install -Dm644 README_dict_fr.txt -t "${pkgdir}"/usr/share/doc/${pkgname}/
 
-# Install webengine dictionaries
+  # Install webengine dictionaries
   install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
   for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
-  _filename=$(basename $_file)
+    _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