[arch-commits] Commit in libvoikko/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Oct 23 10:52:37 UTC 2018
Date: Tuesday, October 23, 2018 @ 10:52:36
Author: felixonmars
Revision: 337142
archrelease: copy trunk to testing-x86_64
Added:
libvoikko/repos/testing-x86_64/
libvoikko/repos/testing-x86_64/PKGBUILD
(from rev 337141, libvoikko/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: libvoikko/repos/testing-x86_64/PKGBUILD (from rev 337141, libvoikko/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-10-23 10:52:36 UTC (rev 337142)
@@ -0,0 +1,33 @@
+# Maintainer:
+# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
+# Contributor: Jussi Timperi <gmail.com: jussi.timperi>
+
+pkgname=libvoikko
+pkgver=4.2
+pkgrel=1
+pkgdesc="A spelling and grammar checker, hyphenator and collection of related linguistic data for Finnish language"
+arch=(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)
+sha512sums=('483d3c259a52ae772d52f708789c3df39a4857188c7b9035ce5db8b16bfa4ef144e2ffd557dd6a0655e4c9a6984529784e4098bc949a1bc8a0a50529fee49656')
+
+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.7/site-packages
+ cp python/libvoikko.py "$pkgdir"/usr/lib/python3.7/site-packages/libvoikko.py
+}
+
More information about the arch-commits
mailing list