blob: 7812bbbc4cc7cf052a316faa15c4875c6afa8d94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-params-util
_pkgname=Params-Util
pkgver=1.00
pkgrel=1
pkgdesc="Params::Util - Simple, compact and correct param-checking functions"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/${_pkgname}"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/${_pkgname}-$pkgver.tar.gz)
md5sums=('827ba4b8bed00e718cea60321129be41')
build() {
cd $srcdir/${_pkgname}-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$pkgdir || return 1
find $pkgdir -name perllocal.pod -delete
find $pkgdir -name .packlist -delete
}
|