[arch-commits] Commit in perl-file-copy-recursive/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Sat Feb 2 20:09:43 UTC 2013


    Date: Saturday, February 2, 2013 @ 21:09:42
  Author: eric
Revision: 176943

Remove reference to $pkgdir in build function, Clean up PKGBUILD

Modified:
  perl-file-copy-recursive/trunk/PKGBUILD	(contents, properties)

----------+
 PKGBUILD |   13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-02 19:57:10 UTC (rev 176942)
+++ PKGBUILD	2013-02-02 20:09:42 UTC (rev 176943)
@@ -1,3 +1,4 @@
+# $Id$
 # Maintainer: Dan McGee <dan at archlinux.org>
 # Contributor: AUR Perl <aurperl at juster.info>
 
@@ -14,25 +15,17 @@
 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
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   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
+  make DESTDIR="$pkgdir" install
 }


Property changes on: perl-file-copy-recursive/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list