diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/perl-class-factory-util/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/perl-class-factory-util/PKGBUILD')
-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..3fe555c39 --- /dev/null +++ b/community/perl-class-factory-util/PKGBUILD @@ -0,0 +1,31 @@ +# $Id:$ + +pkgname=perl-class-factory-util +_realname=Class-Factory-Util +pkgver=1.7 +pkgrel=2 +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 +} |