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

Antonio Rojas arojas at archlinux.org
Sat Nov 23 09:40:53 UTC 2019


    Date: Saturday, November 23, 2019 @ 09:40:53
  Author: arojas
Revision: 531997

Package webengine dictionaries

Modified:
  hunspell-pl/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-23 09:36:34 UTC (rev 531996)
+++ PKGBUILD	2019-11-23 09:40:53 UTC (rev 531997)
@@ -4,12 +4,13 @@
 
 pkgname=hunspell-pl
 pkgver=20190101
-pkgrel=1
+pkgrel=2
 pkgdesc='Polish dictionary for Hunspell'
 arch=('any')
 url='https://www.sjp.pl/slownik/ort/'
 license=('GPL')
 optdepends=('hunspell: the spell checking libraries and apps')
+makedepends=('qt5-webengine')
 source=(https://sources.archlinux.org/other/community/hunspell-pl/sjp-myspell-pl-$pkgver.zip)
 md5sums=('9ee4a80641764c0c26627c83ec481e39')
 
@@ -33,4 +34,8 @@
   # docs
   install -dm755 "$pkgdir"/usr/share/doc/$pkgname
   install -m644 README_pl_PL.txt "$pkgdir"/usr/share/doc/$pkgname
+
+ # Install webengine dictionaries
+  install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+  qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/pl_PL.dic "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/pl_PL.bdic
 }



More information about the arch-commits mailing list