diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-08 17:30:51 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-08 17:30:51 (GMT) |
commit | 562074d2036106b5cd46505fe9823c939c1e7ff1 (patch) | |
tree | 3571a47cb625390715acf760b4489fe1b1629bab /abs/core-testing/perl_modules/perl-libxml/PKGBUILD | |
parent | 6d04d899f89686ea784fab07c5a0f5090556e64d (diff) | |
download | linhes_pkgbuild-562074d2036106b5cd46505fe9823c939c1e7ff1.zip linhes_pkgbuild-562074d2036106b5cd46505fe9823c939c1e7ff1.tar.gz linhes_pkgbuild-562074d2036106b5cd46505fe9823c939c1e7ff1.tar.bz2 |
Add a few more perl modules required for other programs.
Diffstat (limited to 'abs/core-testing/perl_modules/perl-libxml/PKGBUILD')
-rw-r--r-- | abs/core-testing/perl_modules/perl-libxml/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-libxml/PKGBUILD b/abs/core-testing/perl_modules/perl-libxml/PKGBUILD new file mode 100644 index 0000000..864c01b --- /dev/null +++ b/abs/core-testing/perl_modules/perl-libxml/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD,v 1.5 2007/11/12 23:00:43 firmicus Exp $ +# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org> +# Contributor: phrakture <aaron m griffin :: gmail-com> +# Contributor: Firmicus <firmicus ατ gmx δοτ net> + +pkgname=perl-libxml +pkgver=1.65 +pkgrel=1 +pkgdesc="Perl bindings for libxml2" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~pajas/XML-LibXML/" +license=('GPL' 'PerlArtistic') +depends=('perl-libxml-common' 'perl-xml-sax' 'libxml2') +options=('!emptydirs') +install=perl-libxml.install +source=(http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXML-$pkgver.tar.gz) +md5sums=('7871c21078f706690cda9ca68d4ddac6') + +build() +{ + cd $startdir/src/XML-LibXML-$pkgver/ + eval `perl -V:archname` + SKIP_SAX_INSTALL=y perl Makefile.PL \ + INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \ + INSTALLSITELIB=/usr/lib/perl5/site_perl/current \ + INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} || return 1 + make || return 1 + make DESTDIR=$startdir/pkg install + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} |