updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / mecab / PKGBUILD
blob4949e9c154ecbd18af95b509262030af47285aab
1 # Contributor: Simon Lackerbauer <calypso@strpg.org> 
2 pkgname=mecab
3 pkgver=0.98
4 pkgrel=1
5 pkgdesc="Morphological Analysis Tool"
6 arch=('i686' 'x86_64')
7 url="http://mecab.sourceforge.net/"
8 license=('BSD' 'LGPL' 'GPL')
9 source=(http://surfnet.dl.sourceforge.net/sourceforge/mecab/$pkgname-$pkgver.tar.gz)
10 md5sums=('b3d8d79e35acf0ca178e8d885309f5fd')
11 sha1sums=('8977d7760638ec65132e1f9bfc66655ac761f964')
13 build() {
14   cd $startdir/src/$pkgname-$pkgver
15   ./configure --prefix=/usr
16   make || return 1
17   make DESTDIR=$startdir/pkg install
18   install -D -m644 $srcdir/$pkgname-$pkgver/COPYING \
19     $pkgdir/usr/share/licenses/$pkgname/COPYING
20   install -D -m644 $srcdir/$pkgname-$pkgver/BSD \
21     $pkgdir/usr/share/licenses/$pkgname/BSD