[arch-commits] Commit in hunspell-pl/repos/community-any (PKGBUILD PKGBUILD)

Johannes Löthberg demize at archlinux.org
Mon Nov 23 17:24:59 UTC 2020


    Date: Monday, November 23, 2020 @ 17:24:59
  Author: demize
Revision: 760037

archrelease: copy trunk to community-any

Added:
  hunspell-pl/repos/community-any/PKGBUILD
    (from rev 760036, hunspell-pl/trunk/PKGBUILD)
Deleted:
  hunspell-pl/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-23 17:24:56 UTC (rev 760036)
+++ PKGBUILD	2020-11-23 17:24:59 UTC (rev 760037)
@@ -1,51 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor:  Bartłomiej Piotrowski <barthalion at gmail.com>
-# Contributor: Maciej Sitarz <macieks at freesco.pl>
-
-pkgname=hunspell-pl
-pkgver=20201011
-pkgrel=3
-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=('de3d0ee5e001f2eb7e961e9a45425032')
-
-prepare() {
-  bsdtar -xf pl_PL.zip
-
-  # fix file encoding - FS#68481
-  # check for broken files using
-  # file -i  $(pacman -Ql hunspell-de | sed "s/hunspell-de//") | grep iso
-  for file in pl_PL.aff pl_PL.dic; do
-      mv $file $file.ISO-8859
-      iconv -f iso-8859-2 -t utf-8 $file.ISO-8859 -o $file
-      # fix encoding in .aff files
-      sed -i "s/SET ISO8859-2/SET UTF-8/" $file
-  done
-}
-
-package() {
-  install -dm755 "$pkgdir"/usr/share/hunspell
-  install -m644 pl_PL.aff "$pkgdir"/usr/share/hunspell
-  install -m644 pl_PL.dic "$pkgdir"/usr/share/hunspell
-
-  # 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 -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
-}

Copied: hunspell-pl/repos/community-any/PKGBUILD (from rev 760036, hunspell-pl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-23 17:24:59 UTC (rev 760037)
@@ -0,0 +1,51 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor:  Bartłomiej Piotrowski <barthalion at gmail.com>
+# Contributor: Maciej Sitarz <macieks at freesco.pl>
+
+pkgname=hunspell-pl
+pkgver=20201103
+pkgrel=1
+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=('d04a140ec87faf5ce777084990da5477')
+
+prepare() {
+  bsdtar -xf pl_PL.zip
+
+  # fix file encoding - FS#68481
+  # check for broken files using
+  # file -i  $(pacman -Qql hunspell-pl) | grep iso
+  for file in pl_PL.aff pl_PL.dic; do
+      mv $file $file.ISO-8859
+      iconv -f iso-8859-2 -t utf-8 $file.ISO-8859 -o $file
+      # fix encoding in .aff files
+      sed -i "s/SET ISO8859-2/SET UTF-8/" $file
+  done
+}
+
+package() {
+  install -dm755 "$pkgdir"/usr/share/hunspell
+  install -m644 pl_PL.aff "$pkgdir"/usr/share/hunspell
+  install -m644 pl_PL.dic "$pkgdir"/usr/share/hunspell
+
+  # 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 -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