diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-05 01:03:07 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-05 01:03:07 (GMT) |
commit | bc8a09e8e7ae5cac0206fa6ea7bc08ae3b64662f (patch) | |
tree | 1aa7890dac8adfb0c697681cd565ae8baa430027 /abs/core-testing/perl_modules/perl-params-validate/PKGBUILD | |
parent | bdb38083d037bd0f37a15d4fbb0a63696c8afa97 (diff) | |
download | linhes_pkgbuild-bc8a09e8e7ae5cac0206fa6ea7bc08ae3b64662f.zip linhes_pkgbuild-bc8a09e8e7ae5cac0206fa6ea7bc08ae3b64662f.tar.gz linhes_pkgbuild-bc8a09e8e7ae5cac0206fa6ea7bc08ae3b64662f.tar.bz2 |
perl modules needed by tweaker
Diffstat (limited to 'abs/core-testing/perl_modules/perl-params-validate/PKGBUILD')
-rw-r--r-- | abs/core-testing/perl_modules/perl-params-validate/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-params-validate/PKGBUILD b/abs/core-testing/perl_modules/perl-params-validate/PKGBUILD new file mode 100644 index 0000000..f65387f --- /dev/null +++ b/abs/core-testing/perl_modules/perl-params-validate/PKGBUILD @@ -0,0 +1,23 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-params-validate +pkgver=0.91 +pkgrel=1 +pkgdesc="Validate sub params against a spec" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~DROLSKY/Params-Validate" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-$pkgver.tar.gz) +md5sums=('22c5467a1d4673374a1b7b2dbcfd473e') + +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 +} |