updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libvoikko / PKGBUILD
blobc82afa1840b433037ff9789c18b5a64d7c37384d
1 # Contributor: Jussi Timperi <jussi.timperi at gmail.com>
3 pkgname=libvoikko
4 pkgver=3.4
5 pkgrel=1
6 pkgdesc="A library of free Finnish language tools using Malaga"
7 arch=('i686' 'x86_64')
8 url="http://voikko.sourceforge.net"
9 license=('GPL2')
10 depends=('suomi-malaga-voikko>=1.8' 'gcc-libs')
11 makedepends=('python2')
12 options=(!libtool)
13 source=(http://downloads.sourceforge.net/voikko/$pkgname-$pkgver.tar.gz)
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   ./configure --prefix=/usr --with-dictionary-path=/usr/lib/suomi-malaga
19   sed 's|python $(srcdir)|python2 $(srcdir)|g' -i src/Makefile
20   make
23 package() {
24   cd "$srcdir/$pkgname-$pkgver"
26   make DESTDIR="$pkgdir/" install
29 # vim:set ts=2 sw=2 et:
30 md5sums=('68a2fd8aaf5222572390ac79cd12a732')
31 md5sums=('e23fda1090e75a3a14ac2ad9dd7860fe')