[arch-commits] Commit in aspell-uk/repos/community-x86_64 (3 files)

Antonio Rojas arojas at archlinux.org
Mon Jun 4 18:55:42 UTC 2018


    Date: Monday, June 4, 2018 @ 18:55:41
  Author: arojas
Revision: 340429

archrelease: copy trunk to community-x86_64

Added:
  aspell-uk/repos/community-x86_64/PKGBUILD
    (from rev 340428, aspell-uk/trunk/PKGBUILD)
  aspell-uk/repos/community-x86_64/aspell-uk-perl-5.26.patch
    (from rev 340428, aspell-uk/trunk/aspell-uk-perl-5.26.patch)
Deleted:
  aspell-uk/repos/community-x86_64/PKGBUILD

---------------------------+
 PKGBUILD                  |   81 +++++++++++++++++++++++---------------------
 aspell-uk-perl-5.26.patch |   32 +++++++++++++++++
 2 files changed, 76 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-04 18:55:20 UTC (rev 340428)
+++ PKGBUILD	2018-06-04 18:55:41 UTC (rev 340429)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Roman Kyrylych <roman at archlinux.org>
-
-pkgname=aspell-uk
-pkgver=1.8.0
-_ftpver=1.4.0
-pkgrel=1
-pkgdesc="Ukrainian dictionary for aspell"
-arch=('i686' 'x86_64')
-url="http://ispell-uk.sourceforge.net/"
-license=('GPL' 'LGPL' 'MPL')
-depends=('aspell')
-source=(ftp://ftp.gnu.org/gnu/aspell/dict/uk/aspell6-uk-${_ftpver}-0.tar.bz2
-        http://downloads.sourceforge.net/project/ispell-uk/spell-uk/$pkgver/spell-uk-$pkgver.tgz)
-sha256sums=('35f9a7e840c1272706bc6dd172bc9625cbd843d021094da8598a6abba525f18c'
-            '111e5b945254df4e140922d10daa3da2beffe05d389c1cb2e1e436298f23f2b5')
-
-build() {
-  # needed when using a source package from ispell-uk project
-  cd ${srcdir}/spell-uk-$pkgver
-  make
-
-  cd ${srcdir}/aspell6-uk-${_ftpver}-0
-  ./configure
-  make
-
-  # needed when using a source package from ispell-uk project
-  #mv ${srcdir}/spell-uk-$pkgver/dist/aspell-uk-$pkgver/* \
-  #  ${srcdir}/aspell6-uk-${_ftpver}-0
-}
-
-package() {
-  cd ${srcdir}/aspell6-uk-${_ftpver}-0
-
-  make DESTDIR="$pkgdir" install
-}

Copied: aspell-uk/repos/community-x86_64/PKGBUILD (from rev 340428, aspell-uk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-04 18:55:41 UTC (rev 340429)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+
+pkgname=aspell-uk
+pkgver=1.8.0
+_ftpver=1.4.0
+pkgrel=2
+pkgdesc="Ukrainian dictionary for aspell"
+arch=('x86_64')
+url="http://ispell-uk.sourceforge.net/"
+license=('GPL' 'LGPL' 'MPL')
+depends=('aspell')
+source=(ftp://ftp.gnu.org/gnu/aspell/dict/uk/aspell6-uk-${_ftpver}-0.tar.bz2
+        http://downloads.sourceforge.net/project/ispell-uk/spell-uk/$pkgver/spell-uk-$pkgver.tgz
+        aspell-uk-perl-5.26.patch)
+sha256sums=('35f9a7e840c1272706bc6dd172bc9625cbd843d021094da8598a6abba525f18c'
+            '111e5b945254df4e140922d10daa3da2beffe05d389c1cb2e1e436298f23f2b5'
+            '736c05603a361cd31ff045f2669e8fd8cdaa7ec6222bc328d1ad9310d422e609')
+
+prepare() {
+  cd spell-uk-$pkgver
+  patch -p1 -i ../aspell-uk-perl-5.26.patch # Fix build with perl 5.26
+}
+
+build() {
+  # needed when using a source package from ispell-uk project
+  cd ${srcdir}/spell-uk-$pkgver
+  make
+
+  cd ${srcdir}/aspell6-uk-${_ftpver}-0
+  ./configure
+  make
+
+  # needed when using a source package from ispell-uk project
+  #mv ${srcdir}/spell-uk-$pkgver/dist/aspell-uk-$pkgver/* \
+  #  ${srcdir}/aspell6-uk-${_ftpver}-0
+}
+
+package() {
+  cd ${srcdir}/aspell6-uk-${_ftpver}-0
+
+  make DESTDIR="$pkgdir" install
+}

Copied: aspell-uk/repos/community-x86_64/aspell-uk-perl-5.26.patch (from rev 340428, aspell-uk/trunk/aspell-uk-perl-5.26.patch)
===================================================================
--- aspell-uk-perl-5.26.patch	                        (rev 0)
+++ aspell-uk-perl-5.26.patch	2018-06-04 18:55:41 UTC (rev 340429)
@@ -0,0 +1,32 @@
+Description: "use encoding" is removed in perl 5.26
+ As "use utf8" for the source is already there, just make sure
+ we open the standard file handles as UTF-8.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/871349
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-08-08
+
+--- a/bin/verb_reverse.pl
++++ b/bin/verb_reverse.pl
+@@ -9,7 +9,7 @@
+ use strict;
+ use locale;
+ use utf8;
+-use encoding 'utf8';
++use open qw(:std :encoding(UTF-8));
+ 
+ 
+ my $UK_CAP	="'АБВГҐДЕЄЖЗИІЇЙКЛМНОПРСТУФХЦЧШЩЬЮЯ";
+--- a/bin/affconv.pl
++++ b/bin/affconv.pl
+@@ -5,7 +5,7 @@
+ use strict;
+ use locale;
+ use utf8;
+-use encoding 'utf8';
++use open qw(:std :encoding(UTF-8));
+ 
+ my (%pfx, %sfx);
+ 
+



More information about the arch-commits mailing list