[arch-commits] Commit in perl-class-factory-util/repos (2 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Thu Aug 15 09:47:00 UTC 2013
Date: Thursday, August 15, 2013 @ 11:47:00
Author: spupykin
Revision: 95639
archrelease: copy trunk to community-any
Added:
perl-class-factory-util/repos/community-any/
perl-class-factory-util/repos/community-any/PKGBUILD
(from rev 95638, perl-class-factory-util/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-class-factory-util/repos/community-any/PKGBUILD (from rev 95638, perl-class-factory-util/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2013-08-15 09:47:00 UTC (rev 95639)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-class-factory-util
+_realname=Class-Factory-Util
+pkgver=1.7
+pkgrel=5
+pkgdesc="Provide utility methods for factory classes"
+arch=(any)
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/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
+}
More information about the arch-commits
mailing list