From 9256679cac171c9acaf834ce3f7de66ff29fdda5 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 27 Mar 2010 20:14:37 -0500 Subject: perl modules: moving stray perl modules to their correct location inside perl_modules Gotta keep it tidy or perl will take over the system. --- abs/core-testing/perl-xml-dom/PKGBUILD | 23 ----------------- .../perl_modules/perl-xml-dom/PKGBUILD | 23 +++++++++++++++++ abs/core-testing/perl_modules/perlxml/PKGBUILD | 29 ++++++++++++++++++++++ abs/core-testing/perlxml/PKGBUILD | 29 ---------------------- 4 files changed, 52 insertions(+), 52 deletions(-) delete mode 100644 abs/core-testing/perl-xml-dom/PKGBUILD create mode 100644 abs/core-testing/perl_modules/perl-xml-dom/PKGBUILD create mode 100644 abs/core-testing/perl_modules/perlxml/PKGBUILD delete mode 100644 abs/core-testing/perlxml/PKGBUILD diff --git a/abs/core-testing/perl-xml-dom/PKGBUILD b/abs/core-testing/perl-xml-dom/PKGBUILD deleted file mode 100644 index ab6e8a5..0000000 --- a/abs/core-testing/perl-xml-dom/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Contributor: François Charette - -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/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 + +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 +# Contributor: herb + +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 +} diff --git a/abs/core-testing/perlxml/PKGBUILD b/abs/core-testing/perlxml/PKGBUILD deleted file mode 100644 index c9b2f30..0000000 --- a/abs/core-testing/perlxml/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: dorphell -# Contributor: herb - -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 -} -- cgit v0.12