[arch-commits] Commit in hunspell-el/repos/community-any (4 files)
Andreas Radke
andyrtr at archlinux.org
Mon Nov 16 10:39:28 UTC 2020
Date: Monday, November 16, 2020 @ 10:39:28
Author: andyrtr
Revision: 755194
archrelease: copy trunk to community-any
Added:
hunspell-el/repos/community-any/LICENSE
(from rev 755193, hunspell-el/trunk/LICENSE)
hunspell-el/repos/community-any/PKGBUILD
(from rev 755193, hunspell-el/trunk/PKGBUILD)
Deleted:
hunspell-el/repos/community-any/LICENSE
hunspell-el/repos/community-any/PKGBUILD
----------+
LICENSE | 46 ++++++++++++++--------------
PKGBUILD | 98 +++++++++++++++++++++++++++++++++----------------------------
2 files changed, 77 insertions(+), 67 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2020-11-16 10:39:19 UTC (rev 755193)
+++ LICENSE 2020-11-16 10:39:28 UTC (rev 755194)
@@ -1,23 +0,0 @@
-Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
-The contents of this file are subject to the Mozilla Public License Version
-1.1 (the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-http://www.mozilla.org/MPL/
-
-Software distributed under the License is distributed on an "AS IS" basis,
-WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-for the specific language governing rights and limitations under the
-License.
-
-Alternatively, the contents of this file may be used under the terms of
-either the GNU General Public License Version 2 or later (the "GPL"), or
-the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-in which case the provisions of the GPL or the LGPL are applicable instead
-of those above. If you wish to allow use of your version of this file only
-under the terms of either the GPL or the LGPL, and not to allow others to
-use your version of this file under the terms of the MPL, indicate your
-decision by deleting the provisions above and replace them with the notice
-and other provisions required by the GPL or the LGPL. If you do not delete
-the provisions above, a recipient may use your version of this file under
-the terms of any one of the MPL, the GPL or the LGPL.
Copied: hunspell-el/repos/community-any/LICENSE (from rev 755193, hunspell-el/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2020-11-16 10:39:28 UTC (rev 755194)
@@ -0,0 +1,23 @@
+Version: MPL 1.1/GPL 2.0/LGPL 2.1
+
+The contents of this file are subject to the Mozilla Public License Version
+1.1 (the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+http://www.mozilla.org/MPL/
+
+Software distributed under the License is distributed on an "AS IS" basis,
+WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+for the specific language governing rights and limitations under the
+License.
+
+Alternatively, the contents of this file may be used under the terms of
+either the GNU General Public License Version 2 or later (the "GPL"), or
+the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+in which case the provisions of the GPL or the LGPL are applicable instead
+of those above. If you wish to allow use of your version of this file only
+under the terms of either the GPL or the LGPL, and not to allow others to
+use your version of this file under the terms of the MPL, indicate your
+decision by deleting the provisions above and replace them with the notice
+and other provisions required by the GPL or the LGPL. If you do not delete
+the provisions above, a recipient may use your version of this file under
+the terms of any one of the MPL, the GPL or the LGPL.
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-16 10:39:19 UTC (rev 755193)
+++ PKGBUILD 2020-11-16 10:39:28 UTC (rev 755194)
@@ -1,44 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: birdflesh <antkoul at gmail dot com>
-
-pkgname=hunspell-el
-pkgver=0.9
-pkgrel=4
-
-pkgdesc="Greek hunspell dictionary"
-url="http://elspell.math.upatras.gr"
-arch=(any)
-license=('MPL' 'GPL' 'LGPL')
-
-optdepends=('hunspell: the spell checking libraries and apps')
-makedepends=('qt5-webengine')
-
-source=("http://elspell.math.upatras.gr/files/ooffice/el_GR-$pkgver.zip" LICENSE)
-
-sha1sums=('c1b2539b3e18d78f7408db820bf834aaffff21ea'
- 'b50c7273708dfaec427414edaeb090fe80870fa4')
-
-package() {
- install -dm755 "$pkgdir"/usr/share/hunspell
- install -m644 el_GR.aff "$pkgdir/usr/share/hunspell"
- install -m644 el_GR.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 -Dm644 README_el_GR.txt "$pkgdir"/usr/share/doc/"$pkgname"
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
-
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
- for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename=$(basename $_file)
- qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
- done
-}
Copied: hunspell-el/repos/community-any/PKGBUILD (from rev 755193, hunspell-el/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-16 10:39:28 UTC (rev 755194)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: birdflesh <antkoul at gmail dot com>
+
+pkgname=hunspell-el
+pkgver=0.9
+pkgrel=5
+
+pkgdesc="Greek hunspell dictionary"
+url="http://elspell.math.upatras.gr"
+arch=(any)
+license=('MPL' 'GPL' 'LGPL')
+
+optdepends=('hunspell: the spell checking libraries and apps')
+makedepends=('qt5-webengine')
+
+source=("http://elspell.math.upatras.gr/files/ooffice/el_GR-$pkgver.zip" LICENSE)
+
+sha1sums=('c1b2539b3e18d78f7408db820bf834aaffff21ea'
+ 'b50c7273708dfaec427414edaeb090fe80870fa4')
+
+package() {
+ install -dm755 "$pkgdir"/usr/share/hunspell
+ install -m644 el_GR.aff "$pkgdir/usr/share/hunspell"
+ install -m644 el_GR.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 -Dm644 README_el_GR.txt "$pkgdir"/usr/share/doc/"$pkgname"
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/el_GR.dic \
+ "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/el_GR.bdic
+
+ # fix file encoding - FS#68481
+ # check for broken files using
+ # file -i $(pacman -Ql hunspell-el | sed "s/hunspell-el//") | grep iso
+ # this can't be done earlier in build or would lead to an error:
+ # ERROR: Cannot encode command 'TRY ÜüßúÀÝÞýûàþéçõùïåáôíñóêìðëòãäèöâæîø÷' to utf8.
+ cd "$pkgdir"/usr/share/hunspell
+ for file in el_GR.aff el_GR.dic; do
+ mv $file $file.ISO-8859
+ iconv -f iso-8859-1 -t utf-8 $file.ISO-8859 -o $file
+ rm $file.ISO-8859
+ done
+}
More information about the arch-commits
mailing list