summaryrefslogtreecommitdiff
path: root/community/perl-params-classify/PKGBUILD
blob: 476e3d37898d505fb7fcf7f211d2d215cf7b2387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 56695 2011-10-10 17:08:45Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-params-classify
pkgver=0.009
pkgrel=1
pkgdesc="argument type classification"
arch=(i686 x86_64)
license=('PerlArtistic')
url="http://search.cpan.org/~zefram/Params-Classify"
options=(!emptydirs)
depends=('perl>=5.10.1')
source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-$pkgver.tar.gz")
md5sums=('57114b9272df5c4dba1aeb3c4b4d2984')

build() {
  cd $srcdir/Params-Classify-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=${pkgdir}
  find ${pkgdir} -name perllocal.pod -delete
  find ${pkgdir} -name .packlist -delete
}