[arch-commits] Commit in perl-config-simple/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Jan 12 09:28:28 UTC 2013


    Date: Saturday, January 12, 2013 @ 04:28:28
  Author: andyrtr
Revision: 175045

upgpkg: perl-config-simple 4.59-3

initial pkg based on the AUR one

Modified:
  perl-config-simple/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-12 09:19:42 UTC (rev 175044)
+++ PKGBUILD	2013-01-12 09:28:28 UTC (rev 175045)
@@ -11,7 +11,7 @@
 pkgdesc="Simple configuration file class to create and read config files"
 url="http://search.cpan.org/~sherzodr/Config-Simple"
 depends=('perl')
-arch=('i686' 'x86_64')
+arch=('any')
 license="GPL"
 options=('!emptydirs')
 source=("http://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/Config-Simple-$pkgver.tar.gz") 
@@ -26,15 +26,10 @@
       INSTALLARCHLIB=/usr/lib/perl5/${archname} \
       INSTALLSITELIB=/usr/lib/perl5/site_perl \
       INSTALLSITEARCH=/usr/lib/perl5/site_perl/${archname}
+  make
+  }
 
-  /usr/bin/make || return 1
-  }
 package() {
   cd  $srcdir/Config-Simple-$pkgver
-
-  /usr/bin/make DESTDIR="$pkgdir" install
-  /usr/bin/find $pkgdir -name '.packlist' -print0 | xargs -0 rm -f
-  /usr/bin/find $pkgdir -name '*.pod' -print0 | xargs -0 rm -f
+  make DESTDIR="$pkgdir" install
 }
-
-# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list