[arch-commits] Commit in hunspell-pl/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Nov 23 09:41:12 UTC 2019
Date: Saturday, November 23, 2019 @ 09:41:12
Author: arojas
Revision: 531998
archrelease: copy trunk to community-any
Added:
hunspell-pl/repos/community-any/PKGBUILD
(from rev 531997, hunspell-pl/trunk/PKGBUILD)
Deleted:
hunspell-pl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 41 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-23 09:40:53 UTC (rev 531997)
+++ PKGBUILD 2019-11-23 09:41:12 UTC (rev 531998)
@@ -1,36 +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=20190101
-pkgrel=1
-pkgdesc='Polish dictionary for Hunspell'
-arch=('any')
-url='http://www.sjp.pl/slownik/ort/'
-license=('GPL')
-optdepends=('hunspell: the spell checking libraries and apps')
-source=(https://sources.archlinux.org/other/community/hunspell-pl/sjp-myspell-pl-$pkgver.zip)
-md5sums=('9ee4a80641764c0c26627c83ec481e39')
-
-prepare() {
- bsdtar -xf pl_PL.zip
-}
-
-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
-}
Copied: hunspell-pl/repos/community-any/PKGBUILD (from rev 531997, hunspell-pl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-23 09:41:12 UTC (rev 531998)
@@ -0,0 +1,41 @@
+# 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=20190101
+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')
+
+prepare() {
+ bsdtar -xf pl_PL.zip
+}
+
+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