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

2019-10-04 Thread Balló György via arch-commits
Date: Friday, October 4, 2019 @ 11:45:55
  Author: bgyorgy
Revision: 512710

upgpkg: hunspell-hu 1.7-2

Add bdic dictionary for qtwebengine

Modified:
  hunspell-hu/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-04 11:11:34 UTC (rev 512709)
+++ PKGBUILD2019-10-04 11:45:55 UTC (rev 512710)
@@ -3,16 +3,17 @@
 
 pkgname=hunspell-hu
 pkgver=1.7
-_lo_ver=6.1.4
-pkgrel=1
+_lo_ver=6.3.2
+pkgrel=2
 pkgdesc="Hungarian hunspell dictionary"
 arch=(any)
 url="http://magyarispell.sourceforge.net/";
 license=(LGPL GPL MPL)
+makedepends=('qt5-webengine')
 optdepends=('hunspell: the spell checking libraries and apps')
 
source=(https://download.documentfoundation.org/libreoffice/stable/${_lo_ver}/rpm/x86_64/LibreOffice_${_lo_ver}_Linux_x86-64_rpm_langpack_hu.tar.gz{,.asc})
 validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # "LibreOffice Build 
Team (CODE SIGNING KEY) "
-sha256sums=('93f8b987189a0ac52cbee9eaca74597e059479a43604b3d3ec409072909e3ab3'
+sha256sums=('07a45f1148d82286bd39b6f36b2adcdf766fb41e8a203f36e1f52940c8c27fa5'
 'SKIP')
 
 prepare() {
@@ -21,9 +22,13 @@
 
 package() {
   cd opt/libreoffice*/share/extensions/dict-hu/
-  install -dm755 "$pkgdir/usr/share/hunspell"
+  install -dm755 "$pkgdir"/usr/share/{hunspell,qt/qtwebengine_dictionaries}
   install -m644 -t "$pkgdir/usr/share/hunspell" hu_HU.dic hu_HU.aff
 
+  # Install webengine dictionary; the IGNORE command is not supported by bdic
+  sed -i '/^IGNORE/d' hu_HU.aff
+  qwebengine_convert_dict hu_HU.dic 
"$pkgdir/usr/share/qt/qtwebengine_dictionaries/hu_HU.bdic"
+
   # the symlinks
   install -dm755 "$pkgdir/usr/share/myspell/dicts"
   pushd "$pkgdir/usr/share/myspell/dicts"


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

2018-12-18 Thread Balló György via arch-commits
Date: Tuesday, December 18, 2018 @ 18:17:19
  Author: bgyorgy
Revision: 416677

Remove empty line

Modified:
  hunspell-hu/trunk/PKGBUILD

--+
 PKGBUILD |1 -
 1 file changed, 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-18 18:16:48 UTC (rev 416676)
+++ PKGBUILD2018-12-18 18:17:19 UTC (rev 416677)
@@ -35,4 +35,3 @@
   # docs
   install -Dm644 README_hu_HU.txt 
"$pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt"
 }
-


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

2018-12-18 Thread Balló György via arch-commits
Date: Tuesday, December 18, 2018 @ 18:05:44
  Author: bgyorgy
Revision: 416671

upgpkg: hunspell-hu 1.7-1

Update to new version, adopt the package

Modified:
  hunspell-hu/trunk/PKGBUILD

--+
 PKGBUILD |   38 ++
 1 file changed, 22 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-18 17:58:14 UTC (rev 416670)
+++ PKGBUILD2018-12-18 18:05:44 UTC (rev 416671)
@@ -1,32 +1,38 @@
-# Maintainer: AndyRTR 
-# Contributor: György Balló 
+# Maintainer: Balló György 
+# Contributor: AndyRTR 
 
 pkgname=hunspell-hu
-pkgver=1.6.1
-pkgrel=5
+pkgver=1.7
+_lo_ver=6.1.4
+pkgrel=1
 pkgdesc="Hungarian hunspell dictionary"
-arch=('any')
-url="http://extensions.services.openoffice.org/project/hu_dicts";
-license=('LGPL' 'GPL' 'MPL')
+arch=(any)
+url="http://magyarispell.sourceforge.net/";
+license=(LGPL GPL MPL)
 optdepends=('hunspell: the spell checking libraries and apps')
-source=(http://pkgs.fedoraproject.org/repo/pkgs/mythes-hu/dict-hu.oxt/d320e43e815c2dfd599dbfb7cd0e41fb/dict-hu.oxt)
-sha512sums=('4ead8e4075fffb8100a121e7bbd56f73f6c25a827bf0c6647441d5f106ea6287882a7b0cdb9e1c0968baf636a0f8334992a76b0c8198b3fbc7c13db97e3c9f3d')
+source=(https://download.documentfoundation.org/libreoffice/stable/${_lo_ver}/rpm/x86_64/LibreOffice_${_lo_ver}_Linux_x86-64_rpm_langpack_hu.tar.gz{,.asc})
+validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # "LibreOffice Build 
Team (CODE SIGNING KEY) "
+sha256sums=('93f8b987189a0ac52cbee9eaca74597e059479a43604b3d3ec409072909e3ab3'
+'SKIP')
 
+prepare() {
+  bsdtar -x -f 
LibreOffice_*_Linux_x86-64_rpm_langpack_hu/RPMS/libreoffice*-dict-hu-*.x86_64.rpm
+}
 
 package() {
-  cd "$srcdir"
-  install -dm755 ${pkgdir}/usr/share/hunspell
-  install -m644 -t $pkgdir/usr/share/hunspell hu_HU.dic hu_HU.aff
+  cd opt/libreoffice*/share/extensions/dict-hu/
+  install -dm755 "$pkgdir/usr/share/hunspell"
+  install -m644 -t "$pkgdir/usr/share/hunspell" hu_HU.dic hu_HU.aff
 
   # the symlinks
-  install -dm755 ${pkgdir}/usr/share/myspell/dicts
-  pushd $pkgdir/usr/share/myspell/dicts
-for file in $pkgdir/usr/share/hunspell/*; do
+  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_hu_HU.txt 
$pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt
+  install -Dm644 README_hu_HU.txt 
"$pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt"
 }
 


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

2018-05-31 Thread Antonio Rojas via arch-commits
Date: Thursday, May 31, 2018 @ 07:04:13
  Author: arojas
Revision: 334248

Rebuild

Modified:
  hunspell-hu/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-31 07:02:23 UTC (rev 334247)
+++ PKGBUILD2018-05-31 07:04:13 UTC (rev 334248)
@@ -4,7 +4,7 @@
 
 pkgname=hunspell-hu
 pkgver=1.6.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Hungarian hunspell dictionary"
 arch=('any')
 url="http://extensions.services.openoffice.org/project/hu_dicts";


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

2018-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 31, 2018 @ 02:49:50
  Author: felixonmars
Revision: 333934

upgpkg: hunspell-hu 1.6.1-4

BUILDINFO Rebuild

Modified:
  hunspell-hu/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-31 02:49:31 UTC (rev 333933)
+++ PKGBUILD2018-05-31 02:49:50 UTC (rev 333934)
@@ -4,7 +4,7 @@
 
 pkgname=hunspell-hu
 pkgver=1.6.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Hungarian hunspell dictionary"
 arch=('any')
 url="http://extensions.services.openoffice.org/project/hu_dicts";
@@ -11,7 +11,7 @@
 license=('LGPL' 'GPL' 'MPL')
 optdepends=('hunspell: the spell checking libraries and apps')
 
source=(http://pkgs.fedoraproject.org/repo/pkgs/mythes-hu/dict-hu.oxt/d320e43e815c2dfd599dbfb7cd0e41fb/dict-hu.oxt)
-md5sums=('d320e43e815c2dfd599dbfb7cd0e41fb')
+sha512sums=('4ead8e4075fffb8100a121e7bbd56f73f6c25a827bf0c6647441d5f106ea6287882a7b0cdb9e1c0968baf636a0f8334992a76b0c8198b3fbc7c13db97e3c9f3d')
 
 
 package() {


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

2014-08-18 Thread Bartłomiej Piotrowski
Date: Monday, August 18, 2014 @ 11:01:41
  Author: bpiotrowski
Revision: 220200

upgpkg: hunspell-hu 1.6.1-3

mtree rebuild

Modified:
  hunspell-hu/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-18 08:58:50 UTC (rev 220199)
+++ PKGBUILD2014-08-18 09:01:41 UTC (rev 220200)
@@ -4,13 +4,13 @@
 
 pkgname=hunspell-hu
 pkgver=1.6.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Hungarian hunspell dictionary"
 arch=('any')
 url="http://extensions.services.openoffice.org/project/hu_dicts";
 license=('LGPL' 'GPL' 'MPL')
 optdepends=('hunspell: the spell checking libraries and apps')
-source=(http://extensions.services.openoffice.org/e-files/1283/9/dict-hu.oxt)
+source=(http://pkgs.fedoraproject.org/repo/pkgs/mythes-hu/dict-hu.oxt/d320e43e815c2dfd599dbfb7cd0e41fb/dict-hu.oxt)
 md5sums=('d320e43e815c2dfd599dbfb7cd0e41fb')
 
 
@@ -26,7 +26,7 @@
   ln -sv /usr/share/hunspell/$(basename $file) .
 done
   popd
-  
+
   # docs
   install -Dm644 README_hu_HU.txt 
$pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt
 }



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

2012-02-18 Thread Allan McRae
Date: Saturday, February 18, 2012 @ 19:43:33
  Author: allan
Revision: 150624

upgpkg: hunspell-hu 1.6.1-2

signing rebuild

Modified:
  hunspell-hu/trunk/PKGBUILD

--+
 PKGBUILD |   12 
 1 file changed, 4 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-19 00:37:36 UTC (rev 150623)
+++ PKGBUILD2012-02-19 00:43:33 UTC (rev 150624)
@@ -4,23 +4,20 @@
 
 pkgname=hunspell-hu
 pkgver=1.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Hungarian hunspell dictionary"
-arch=(any)
+arch=('any')
 url="http://extensions.services.openoffice.org/project/hu_dicts";
 license=('LGPL' 'GPL' 'MPL')
 optdepends=('hunspell: the spell checking libraries and apps')
 source=(http://extensions.services.openoffice.org/e-files/1283/9/dict-hu.oxt)
 md5sums=('d320e43e815c2dfd599dbfb7cd0e41fb')
 
-build() {
-  /bin/true
-}
 
 package() {
   cd "$srcdir"
   install -dm755 ${pkgdir}/usr/share/hunspell
-  cp -p hu_HU.dic hu_HU.aff $pkgdir/usr/share/hunspell
+  install -m644 -t $pkgdir/usr/share/hunspell hu_HU.dic hu_HU.aff
 
   # the symlinks
   install -dm755 ${pkgdir}/usr/share/myspell/dicts
@@ -31,7 +28,6 @@
   popd
   
   # docs
-  install -dm755 ${pkgdir}/usr/share/doc/$pkgname
-  cp -p README_hu_HU.txt $pkgdir/usr/share/doc/$pkgname
+  install -Dm644 README_hu_HU.txt 
$pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt
 }