updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / perl-snowball-swedish / PKGBUILD
blob4505c3815b6f5c0cc61da166e2b39608be262738
1 # CPAN Name  : Snowball-Swedish
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.18
4 pkgname='perl-snowball-swedish'
5 pkgver='1.2'
6 pkgrel='1'
7 pkgdesc="Porters stemming algorithm for swedish."
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 url='http://search.cpan.org/dist/Snowball-Swedish'
13 source=('http://search.cpan.org/CPAN/authors/id/A/AS/ASKSH/Snowball-Swedish-1.2.tar.gz')
14 md5sums=('e2ed0f5c2a9fc7e500c61553c4c1e9c9')
16 build() {
17   DIST_DIR="${srcdir}/Snowball-Swedish-1.2"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&    perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&make test &&
21     make DESTDIR="$pkgdir" install;  } || return 1;
23   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete