Date: Wednesday, December 16, 2015 @ 17:19:06 Author: arojas Revision: 256479
Add libvoikko, sonnet dependency Added: libvoikko/ libvoikko/trunk/ libvoikko/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Added: libvoikko/trunk/PKGBUILD =================================================================== --- libvoikko/trunk/PKGBUILD (rev 0) +++ libvoikko/trunk/PKGBUILD 2015-12-16 16:19:06 UTC (rev 256479) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: +# Contributor: Jesse Jaara <gmail.com: jesse.jaara> +# Contributor: Jussi Timperi <gmail.com: jussi.timperi> + +pkgname=libvoikko +pkgver=4.0 +pkgrel=3 +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=('c22c63d85554776e354372567e0e67fe') + +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.5/site-packages + cp python/libvoikko.py "$pkgdir"/usr/lib/python3.5/site-packages/libvoikko.py +} + Property changes on: libvoikko/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
