diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/perl-class-factory-util | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/perl-class-factory-util')
-rw-r--r-- | community/perl-class-factory-util/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/perl-class-factory-util/PKGBUILD b/community/perl-class-factory-util/PKGBUILD new file mode 100644 index 000000000..c9da049d7 --- /dev/null +++ b/community/perl-class-factory-util/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 65743 2012-02-22 12:12:49Z spupykin $ + +pkgname=perl-class-factory-util +_realname=Class-Factory-Util +pkgver=1.7 +pkgrel=4 +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 +} |