summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-05 00:45:51 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-05 00:45:51 (GMT)
commit2a9f8c8e3874d5db66fe32c2b33ce6a293f05810 (patch)
tree69ee08549ddf03b457994a16db0fc83b412c1760 /abs/core/perl_modules
parent9375bcca61ac04cc18fa8c180baadde32858a453 (diff)
downloadlinhes_pkgbuild-2a9f8c8e3874d5db66fe32c2b33ce6a293f05810.zip
linhes_pkgbuild-2a9f8c8e3874d5db66fe32c2b33ce6a293f05810.tar.gz
linhes_pkgbuild-2a9f8c8e3874d5db66fe32c2b33ce6a293f05810.tar.bz2
perl-params-validate: Bump to latest.
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r--abs/core/perl_modules/perl-params-validate/PKGBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/abs/core/perl_modules/perl-params-validate/PKGBUILD b/abs/core/perl_modules/perl-params-validate/PKGBUILD
index f65387f..2dd4124 100644
--- a/abs/core/perl_modules/perl-params-validate/PKGBUILD
+++ b/abs/core/perl_modules/perl-params-validate/PKGBUILD
@@ -2,22 +2,29 @@
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-params-validate
-pkgver=0.91
-pkgrel=1
+pkgver=0.98
+pkgrel=2
pkgdesc="Validate sub params against a spec"
arch=('i686' 'x86_64')
-url="http://search.cpan.org/~DROLSKY/Params-Validate"
+url="http://search.cpan.org/dist/Params-Validate"
license=('GPL' 'PerlArtistic')
-depends=('perl>=5.10.0')
+depends=('perl')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-$pkgver.tar.gz)
-md5sums=('22c5467a1d4673374a1b7b2dbcfd473e')
+source=("http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-${pkgver}.tar.gz")
+md5sums=('6dacb26b1bdb6338b6eed45cd86958bb')
build() {
- cd $startdir/src/Params-Validate-$pkgver
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make install DESTDIR=$startdir/pkg || return 1
- find $startdir/pkg -name '.packlist' -delete
- find $startdir/pkg -name '*.pod' -delete
+ cd Params-Validate-${pkgver}
+
+ perl ./Build.PL --installdirs=vendor
+
+ ./Build
+}
+package(){
+ cd Params-Validate-${pkgver}
+
+ ./Build install --destdir=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
}