updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / perl-wordnet / PKGBUILD
blob8df8cef4839747571f6c3d63d09a4e8e55a23292
1 # Contributor: DaNiMoTh <jjdanimoth@gmail.com>
3 pkgname=perl-wordnet
4 pkgver=1.49
5 pkgrel=1
6 pkgdesc="Perl interface to wordnet database"
7 depends=('perl>=5.10.0' 'glibc' 'wordnet')
8 license=('GPL')
9 url="http://people.csail.mit.edu/jrennie/WordNet/"
10 source=(http://people.csail.mit.edu/jrennie/WordNet/WordNet-QueryData-${pkgver}.tar.gz)
11 arch=(i686 x86_64 ppc)
13 build()
15   cd ${srcdir}/WordNet-QueryData-${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=('887135ef2b2191a120c7bda532124d1f')