[arch-commits] Commit in libvoikko/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Feb 27 05:23:38 UTC 2017
Date: Monday, February 27, 2017 @ 05:23:37
Author: felixonmars
Revision: 289587
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libvoikko/repos/testing-i686/
libvoikko/repos/testing-i686/PKGBUILD
(from rev 289586, libvoikko/trunk/PKGBUILD)
libvoikko/repos/testing-x86_64/
libvoikko/repos/testing-x86_64/PKGBUILD
(from rev 289586, libvoikko/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: libvoikko/repos/testing-i686/PKGBUILD (from rev 289586, libvoikko/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-02-27 05:23:37 UTC (rev 289587)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:
+# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
+# Contributor: Jussi Timperi <gmail.com: jussi.timperi>
+
+pkgname=libvoikko
+pkgver=4.1
+pkgrel=1
+pkgdesc="A spelling and grammar checker, hyphenator and collection of related linguistic data for Finnish language"
+arch=(i686 x86_64)
+url="http://voikko.sourceforge.net"
+license=(GPL2)
+depends=(gcc-libs)
+makedepends=(python)
+source=(http://www.puimula.org/voikko-sources/libvoikko/$pkgname-$pkgver.tar.gz)
+md5sums=('8233671012d5661555c9efe1e2f06696')
+
+build() {
+ cd $pkgname-$pkgver
+
+# Workaround encoding error
+ export LANG=en_US.UTF-8
+ ./configure --prefix=/usr --enable-hfst=false --with-dictionary-path=/usr/share/voikko
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+ mkdir -p "$pkgdir"/usr/lib/python3.6/site-packages
+ cp python/libvoikko.py "$pkgdir"/usr/lib/python3.6/site-packages/libvoikko.py
+}
+
Copied: libvoikko/repos/testing-x86_64/PKGBUILD (from rev 289586, libvoikko/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-02-27 05:23:37 UTC (rev 289587)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:
+# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
+# Contributor: Jussi Timperi <gmail.com: jussi.timperi>
+
+pkgname=libvoikko
+pkgver=4.1
+pkgrel=1
+pkgdesc="A spelling and grammar checker, hyphenator and collection of related linguistic data for Finnish language"
+arch=(i686 x86_64)
+url="http://voikko.sourceforge.net"
+license=(GPL2)
+depends=(gcc-libs)
+makedepends=(python)
+source=(http://www.puimula.org/voikko-sources/libvoikko/$pkgname-$pkgver.tar.gz)
+md5sums=('8233671012d5661555c9efe1e2f06696')
+
+build() {
+ cd $pkgname-$pkgver
+
+# Workaround encoding error
+ export LANG=en_US.UTF-8
+ ./configure --prefix=/usr --enable-hfst=false --with-dictionary-path=/usr/share/voikko
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+ mkdir -p "$pkgdir"/usr/lib/python3.6/site-packages
+ cp python/libvoikko.py "$pkgdir"/usr/lib/python3.6/site-packages/libvoikko.py
+}
+
More information about the arch-commits
mailing list