diff options
author | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
commit | 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch) | |
tree | 438c05155823f16b71f4277fef949610bf6fe826 /community/perl-params-validate | |
parent | 108636e69eaeef67f4e7263c7f26105e25979e89 (diff) |
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-params-validate')
-rw-r--r-- | community/perl-params-validate/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/community/perl-params-validate/PKGBUILD b/community/perl-params-validate/PKGBUILD index c14a85c97..2dd4124e8 100644 --- a/community/perl-params-validate/PKGBUILD +++ b/community/perl-params-validate/PKGBUILD @@ -3,24 +3,28 @@ pkgname=perl-params-validate pkgver=0.98 -pkgrel=1 +pkgrel=2 pkgdesc="Validate sub params against a spec" arch=('i686' 'x86_64') 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) +source=("http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-${pkgver}.tar.gz") md5sums=('6dacb26b1bdb6338b6eed45cd86958bb') build() { - cd $startdir/src/Params-Validate-$pkgver + cd Params-Validate-${pkgver} + perl ./Build.PL --installdirs=vendor + ./Build } package(){ - cd $startdir/src/Params-Validate-$pkgver - ./Build install --destdir=$pkgdir - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + cd Params-Validate-${pkgver} + + ./Build install --destdir=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } |