diff options
author | root <root@rshg047.dnsready.net> | 2011-05-24 22:48:50 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-24 22:48:50 +0000 |
commit | 363d953113a327863013a9422c8212654a86a209 (patch) | |
tree | 01f2b43d3e98433702f9c6ba92ab45bfa151888a /community-staging/perl-class-factory-util/PKGBUILD | |
parent | 87e20a64534e8f58ca4a4f84000b629e48569a98 (diff) |
Tue May 24 22:48:50 UTC 2011
Diffstat (limited to 'community-staging/perl-class-factory-util/PKGBUILD')
-rw-r--r-- | community-staging/perl-class-factory-util/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community-staging/perl-class-factory-util/PKGBUILD b/community-staging/perl-class-factory-util/PKGBUILD new file mode 100644 index 000000000..d22f619c9 --- /dev/null +++ b/community-staging/perl-class-factory-util/PKGBUILD @@ -0,0 +1,31 @@ +# $Id:$ + +pkgname=perl-class-factory-util +_realname=Class-Factory-Util +pkgver=1.7 +pkgrel=3 +pkgdesc="Provide utility methods for factory classes" +arch=(i686 x86_64) +license=('GPL' 'Artistic') +url="http://search.cpan.org/~drolsky/Class-Factory-Util" +options=(!emptydirs) +depends=('perl') +provides=('class-factory-util=1.7' 'Class::Factory::Util=1.7' 'perl-class-factory-util=1.7') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-1.7.tar.gz) +md5sums=('aebd79da361b676a7ecd3245fc3d1b3f') + +build() { + cd ${srcdir}/${_realname}-${pkgver} + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd ${srcdir}/${_realname}-${pkgver} + make install DESTDIR=${pkgdir} + + # remove perllocal.pod and .packlist + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete +} |