[arch-commits] Commit in (4 files)

François Charette francois at archlinux.org
Wed Jun 30 11:39:25 UTC 2010


    Date: Wednesday, June 30, 2010 @ 07:39:25
  Author: francois
Revision: 84479

Rename perlxml to perl-xml-parser (FS#1076)

Added:
  perl-xml-parser/
  perl-xml-parser/repos/
  perl-xml-parser/trunk/
  perl-xml-parser/trunk/PKGBUILD

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

Added: perl-xml-parser/trunk/PKGBUILD
===================================================================
--- perl-xml-parser/trunk/PKGBUILD	                        (rev 0)
+++ perl-xml-parser/trunk/PKGBUILD	2010-06-30 11:39:25 UTC (rev 84479)
@@ -0,0 +1,32 @@
+# $Id$
+# Contributor firmicus <francois at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+# Contributor: herb <hrose at archlinux.org>
+
+pkgname=perl-xml-parser
+_realname=XML-Parser
+pkgver=2.36
+pkgrel=4
+pkgdesc="Expat-based XML parser module for perl"
+arch=(i686 x86_64)
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl' 'expat>=2.0')
+replaces=('perlxml')
+provides=('perlxml')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/${_realname}-${pkgver}.tar.gz)
+md5sums=('1b868962b658bd87e1563ecd56498ded')
+
+build() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  
+  # install module in vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor || return 1
+  make || return 1
+  make install DESTDIR="${pkgdir}" || return 1
+
+  # remove perllocal.pod and .packlist.
+  find "${pkgdir}" -name perllocal.pod -delete
+  find "${pkgdir}" -name .packlist -delete
+}


Property changes on: perl-xml-parser/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id




More information about the arch-commits mailing list