[arch-commits] Commit in perl-file-copy-recursive/repos (extra-any extra-any/PKGBUILD)

Dan McGee dan at archlinux.org
Mon Jul 2 00:08:48 UTC 2012


    Date: Sunday, July 1, 2012 @ 20:08:48
  Author: dan
Revision: 162851

archrelease: copy trunk to extra-any

Added:
  perl-file-copy-recursive/repos/extra-any/
  perl-file-copy-recursive/repos/extra-any/PKGBUILD
    (from rev 162850, perl-file-copy-recursive/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: perl-file-copy-recursive/repos/extra-any/PKGBUILD (from rev 162850, perl-file-copy-recursive/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2012-07-02 00:08:48 UTC (rev 162851)
@@ -0,0 +1,38 @@
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: AUR Perl <aurperl at juster.info>
+
+pkgname=perl-file-copy-recursive
+pkgver=0.38
+pkgrel=2
+pkgdesc="extension for recursively copying files and directories"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.cpan.org/dist/File-Copy-Recursive'
+source=("http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-$pkgver.tar.gz")
+md5sums=('e76dc75ab456510d67c6c3a95183f72f')
+
+build() {
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+    PERL_AUTOINSTALL=--skipdeps \
+    PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+    PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+    MODULEBUILDRC=/dev/null
+
+  cd "$srcdir/File-Copy-Recursive-$pkgver"
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "$srcdir/File-Copy-Recursive-$pkgver"
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+  make test
+}
+
+package() {
+  cd "$srcdir/File-Copy-Recursive-$pkgver"
+  make install
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}




More information about the arch-commits mailing list