[arch-commits] CVS update of extra/lib/perl-xml-simple (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sat Aug 25 08:51:25 UTC 2007
Date: Saturday, August 25, 2007 @ 04:51:25
Author: jgc
Path: /home/cvs-extra/extra/lib/perl-xml-simple
Modified: PKGBUILD (1.3 -> 1.4)
upgpkg: perl-xml-simple 2.18-1
Move from current, nothing needs it anymore
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Index: extra/lib/perl-xml-simple/PKGBUILD
diff -u /dev/null extra/lib/perl-xml-simple/PKGBUILD:1.4
--- /dev/null Sat Aug 25 04:51:25 2007
+++ extra/lib/perl-xml-simple/PKGBUILD Sat Aug 25 04:51:25 2007
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD,v 1.4 2007/08/25 08:51:25 jgc Exp $
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: kleptophobiac at gmail.com
+pkgname=perl-xml-simple
+pkgver=2.18
+pkgrel=1
+pkgdesc="Simple XML parser for perl"
+arch=(i686 x86_64)
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/XML-Simple/"
+depends=('perlxml')
+options=('!emptydirs')
+source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/XML-Simple-${pkgver}.tar.gz)
+md5sums=('593aa8001e5c301cdcdb4bb3b63abc33')
+
+build() {
+ cd ${startdir}/src/XML-Simple-${pkgver}
+ eval `perl -V:archname`
+ perl Makefile.PL \
+ INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
+ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
+ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
+ make || return 1
+ make DESTDIR=${startdir}/pkg install
+ find ${startdir}/pkg -name '.packlist' -exec rm -f {} \;
+ find ${startdir}/pkg -name 'perllocal.pod' -exec rm -f {} \;
+}
More information about the arch-commits
mailing list