1 # Contributor: DaNiMoTh <jjdanimoth@gmail.com>
3 pkgname=perl-wordnet-similarity
6 pkgdesc="Perl interface to wordnet database"
7 depends=('perl>=5.10.0' 'perl-wordnet' 'perl-text-similarity')
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)
15 cd ${srcdir}/WordNet-Similarity-${pkgver}
17 WNHOME=/usr/share/wordnet perl Makefile.PL || 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')