[arch-commits] CVS update of extra/lib/perl-pod-simple (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Sep 1 14:00:35 EDT 2007


    Date: Saturday, September 1, 2007 @ 14:00:35
  Author: jgc
    Path: /home/cvs-extra/extra/lib/perl-pod-simple

Modified: PKGBUILD (1.2 -> 1.3)

upgpkg: perl-pod-simple 3.05-2
Use universal perl methods


----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)


Index: extra/lib/perl-pod-simple/PKGBUILD
diff -u extra/lib/perl-pod-simple/PKGBUILD:1.2 extra/lib/perl-pod-simple/PKGBUILD:1.3
--- extra/lib/perl-pod-simple/PKGBUILD:1.2	Tue Aug 28 23:05:18 2007
+++ extra/lib/perl-pod-simple/PKGBUILD	Sat Sep  1 14:00:35 2007
@@ -1,16 +1,17 @@
-# $Id: PKGBUILD,v 1.2 2007/08/29 03:05:18 kevin Exp $
+# $Id: PKGBUILD,v 1.3 2007/09/01 18:00:35 jgc Exp $
 # Maintainer: Kevin <kevin at archlinux.org>
 # Contributor: Ivan Bobrov <ibobrik at gmail.com>
 
 pkgname=perl-pod-simple
 _realname=Pod-Simple
 pkgver=3.05
-pkgrel=1
+pkgrel=2
 pkgdesc="Framework for parsing Pod"
 arch=(i686 x86_64)
-license=(GPL PerlArtistic)
-url="http://search.cpan.org/~arandal/${_realname}-${pkgver}/"
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/~arandal/${_realname}"
 depends=('perl-pod-escapes')
+options=(!emptydirs)
 source=(http://search.cpan.org/CPAN/authors/id/A/AR/ARANDAL/${_realname}-${pkgver}.tar.gz)
 md5sums=('be3f9e5d685ff38a3f0be66322d68cef')
 
@@ -25,8 +26,8 @@
   make || return 1
   make install DESTDIR=${startdir}/pkg
 
-  # remove perllocal.pod, .packlist, and empty dirs.
-  rm -rf ${startdir}/pkg/usr/lib/perl5/current
-  rm -rf ${startdir}/pkg/usr/lib/perl5/site_perl/current/${archname}
+  # remove perllocal.pod and .packlist
+  find ${startdir}/pkg -name perllocal.pod -delete
+  find ${startdir}/pkg -name .packlist -delete
 }
 # vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list