diff options
author | James Meyer <james.meyer@operamail.com> | 2010-03-28 01:14:37 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-03-28 01:14:37 (GMT) |
commit | 9256679cac171c9acaf834ce3f7de66ff29fdda5 (patch) | |
tree | ea03ad2b6f87b0adaf418e54a4d321df932b83fa /abs/core-testing/perl_modules | |
parent | 26444d35e3ce38da0504600900d4775eb7a5970b (diff) | |
download | linhes_pkgbuild-9256679cac171c9acaf834ce3f7de66ff29fdda5.zip linhes_pkgbuild-9256679cac171c9acaf834ce3f7de66ff29fdda5.tar.gz linhes_pkgbuild-9256679cac171c9acaf834ce3f7de66ff29fdda5.tar.bz2 |
perl modules: moving stray perl modules to their correct location inside perl_modules
Gotta keep it tidy or perl will take over the system.
Diffstat (limited to 'abs/core-testing/perl_modules')
-rw-r--r-- | abs/core-testing/perl_modules/perl-xml-dom/PKGBUILD | 23 | ||||
-rw-r--r-- | abs/core-testing/perl_modules/perlxml/PKGBUILD | 29 |
2 files changed, 52 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-xml-dom/PKGBUILD b/abs/core-testing/perl_modules/perl-xml-dom/PKGBUILD new file mode 100644 index 0000000..ab6e8a5 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-xml-dom/PKGBUILD @@ -0,0 +1,23 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-xml-dom +pkgver=1.44 +pkgrel=5 +pkgdesc="Implements Level 1 of W3's DOM" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~TJMATHER/XML-DOM" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0' 'perlxml>=2.30' 'perl-xml-regexp' 'libxml-perl>=0.07' 'perl-libwww') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-DOM-$pkgver.tar.gz) +md5sums=('1ec2032a06e5762984f7a332c199c205') + +build() { + cd $startdir/src/XML-DOM-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR=$startdir/pkg || return 1 + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} diff --git a/abs/core-testing/perl_modules/perlxml/PKGBUILD b/abs/core-testing/perl_modules/perlxml/PKGBUILD new file mode 100644 index 0000000..c9b2f30 --- /dev/null +++ b/abs/core-testing/perl_modules/perlxml/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: dorphell <dorphell@archlinux.org> +# Contributor: herb <hrose@archlinux.org> + +pkgname=perlxml +_realname=XML-Parser +pkgver=2.36 +pkgrel=1 +pkgdesc="XML::Parser - an XML parser module for perl" +arch=(i686 x86_64) +license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perl>=5.10.0' 'expat>=2.0') +options=(!emptydirs) +source=(http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/${_realname}-${pkgver}.tar.gz) +md5sums=('1b868962b658bd87e1563ecd56498ded') + +build() { + cd ${startdir}/src/${_realname}-${pkgver} + + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make MAN1EXT=1p MAN3EXT=3pm || return 1 + make install MAN1EXT=1p MAN3EXT=3pm DESTDIR=${startdir}/pkg || return 1 + + # remove perllocal.pod and .packlist. + find ${startdir}/pkg -name perllocal.pod -delete + find ${startdir}/pkg -name .packlist -delete +} |