updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / perl-wordnet-similarity / PKGBUILD
blobc5f08ea4c6b18bb69d6ea99c87a9e2398679c05b
1 # Contributor: DaNiMoTh <jjdanimoth@gmail.com>
3 pkgname=perl-wordnet-similarity
4 pkgver=2.02
5 pkgrel=1
6 pkgdesc="Perl interface to wordnet database"
7 depends=('perl>=5.10.0' 'perl-wordnet' 'perl-text-similarity')
8 license=('GPL')
9 url="http://wn-similarity.sourceforge.net/"
10 source=(http://search.cpan.org/CPAN/authors/id/T/TP/TPEDERSE/WordNet-Similarity-${pkgver}.tar.gz)
11 arch=(i686 x86_64 ppc)
13 build()
15   cd ${srcdir}/WordNet-Similarity-${pkgver}
17   WNHOME=/usr/share/wordnet perl Makefile.PL || return 1
18   make || return 1
19   make DESTDIR=${pkgdir} install || return 1
21   # Remove .packlist and perllocal.pod files.
22   find ${pkgdir} -name '.packlist' -delete
23   find ${pkgdir} -name 'perllocal.pod' -delete
27 md5sums=('55aae440e22fcec9653f64d18c0e60da')