From ff0f7cee2dc2b420e257313fef663a3f78bbc800 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Tue, 7 Aug 2012 12:54:22 -0500 Subject: perl_modules: updated to many to list --- abs/core/perl_modules/libxml-perl/PKGBUILD | 24 ++++--- abs/core/perl_modules/perl-archive-zip/PKGBUILD | 26 ++++---- .../perl_modules/perl-class-factory-util/PKGBUILD | 16 +++-- abs/core/perl_modules/perl-class-load/PKGBUILD | 25 ++++++++ .../perl_modules/perl-class-singleton/PKGBUILD | 20 +++--- abs/core/perl_modules/perl-convert-binhex/PKGBUILD | 36 +++++++++++ .../perl-convert-binhex.install | 8 +++ abs/core/perl_modules/perl-crypt-ssleay/PKGBUILD | 4 +- abs/core/perl_modules/perl-data-optlist/PKGBUILD | 50 +++++++++++++++ abs/core/perl_modules/perl-date-manip/PKGBUILD | 27 ++++---- .../perl-datetime-format-builder/PKGBUILD | 22 ++++--- .../perl-datetime-format-iso8601/PKGBUILD | 24 ++++--- .../perl_modules/perl-datetime-locale/PKGBUILD | 27 ++++---- .../perl_modules/perl-datetime-timezone/PKGBUILD | 31 +++++---- abs/core/perl_modules/perl-datetime/PKGBUILD | 24 ++++--- abs/core/perl_modules/perl-dbd-mysql/PKGBUILD | 43 ++++++++----- abs/core/perl_modules/perl-dbi/PKGBUILD | 18 +++--- .../perl_modules/perl-dist-checkconflicts/PKGBUILD | 50 +++++++++++++++ .../perl_modules/perl-email-date-format/PKGBUILD | 26 ++++++++ abs/core/perl_modules/perl-encode-locale/PKGBUILD | 52 +++++++++++++++ .../perl-error-0.17016-2-x86_64-build.log.1 | 72 +++++++++++++++++++++ abs/core/perl_modules/perl-fcgi/PKGBUILD | 34 ++++++---- abs/core/perl_modules/perl-file-listing/PKGBUILD | 49 +++++++++++++++ abs/core/perl_modules/perl-html-form/PKGBUILD | 37 +++++++++++ abs/core/perl_modules/perl-html-parser/PKGBUILD | 10 ++- abs/core/perl_modules/perl-html-tagset/PKGBUILD | 15 ++--- abs/core/perl_modules/perl-http-cookies/PKGBUILD | 52 +++++++++++++++ abs/core/perl_modules/perl-http-daemon/PKGBUILD | 53 ++++++++++++++++ abs/core/perl_modules/perl-http-date/PKGBUILD | 51 +++++++++++++++ abs/core/perl_modules/perl-http-message/PKGBUILD | 52 +++++++++++++++ abs/core/perl_modules/perl-http-negotiate/PKGBUILD | 51 +++++++++++++++ .../perl_modules/perl-http-server-simple/PKGBUILD | 24 +++++++ abs/core/perl_modules/perl-image-size/PKGBUILD | 15 +++-- abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD | 42 +++++++------ abs/core/perl_modules/perl-io-stringy/PKGBUILD | 33 ++++++---- abs/core/perl_modules/perl-json/PKGBUILD | 4 +- abs/core/perl_modules/perl-libwww/PKGBUILD | 73 ++++++++++++++-------- .../perl-lingua-en-numbers-ordinate/PKGBUILD | 22 ++++--- .../perl_modules/perl-lingua-en-numbers/PKGBUILD | 26 ++++---- .../perl_modules/perl-lingua-preferred/PKGBUILD | 22 ++++--- abs/core/perl_modules/perl-locale-gettext/PKGBUILD | 43 ++++++++----- .../compatibility-with-POSIX-module.patch | 10 +++ abs/core/perl_modules/perl-lwp-mediatypes/PKGBUILD | 49 +++++++++++++++ abs/core/perl_modules/perl-mailtools/PKGBUILD | 20 +++--- abs/core/perl_modules/perl-math-round/PKGBUILD | 34 ++++++---- abs/core/perl_modules/perl-mime-lite/PKGBUILD | 37 ++++++----- abs/core/perl_modules/perl-mime-tools/ChangeLog | 4 -- abs/core/perl_modules/perl-mime-tools/PKGBUILD | 42 ++++++++----- abs/core/perl_modules/perl-mime-types/PKGBUILD | 34 +++++----- .../perl-module-implementation/PKGBUILD | 37 +++++++++++ abs/core/perl_modules/perl-module-runtime/PKGBUILD | 27 ++++++++ abs/core/perl_modules/perl-net-http/PKGBUILD | 49 +++++++++++++++ abs/core/perl_modules/perl-net-ssleay/PKGBUILD | 24 +++---- abs/core/perl_modules/perl-net-upnp/PKGBUILD | 11 +++- .../perl-package-deprecationmanager/PKGBUILD | 47 ++++++++++++++ .../perl_modules/perl-package-stash-xs/PKGBUILD | 50 +++++++++++++++ abs/core/perl_modules/perl-package-stash/PKGBUILD | 52 +++++++++++++++ .../perl_modules/perl-params-classify/PKGBUILD | 23 +++++++ abs/core/perl_modules/perl-params-util/PKGBUILD | 46 ++++++++++++++ .../perl_modules/perl-params-validate/PKGBUILD | 15 ++--- abs/core/perl_modules/perl-soap-lite/PKGBUILD | 62 +++++++++++++----- abs/core/perl_modules/perl-socket6/PKGBUILD | 2 +- abs/core/perl_modules/perl-sub-exporter/PKGBUILD | 49 +++++++++++++++ abs/core/perl_modules/perl-sub-install/PKGBUILD | 46 ++++++++++++++ abs/core/perl_modules/perl-sub-uplevel/PKGBUILD | 16 ++--- abs/core/perl_modules/perl-test-fatal/PKGBUILD | 46 ++++++++++++++ abs/core/perl_modules/perl-test-pod/PKGBUILD | 41 ++++++------ abs/core/perl_modules/perl-test-requires/PKGBUILD | 29 +++++++++ abs/core/perl_modules/perl-test-warn/PKGBUILD | 29 +++++++++ abs/core/perl_modules/perl-tree-dag-node/PKGBUILD | 23 +++++++ abs/core/perl_modules/perl-try-tiny/PKGBUILD | 49 +++++++++++++++ abs/core/perl_modules/perl-uri/PKGBUILD | 36 +++++------ abs/core/perl_modules/perl-www-mechanize/PKGBUILD | 31 ++++----- abs/core/perl_modules/perl-www-robotrules/PKGBUILD | 49 +++++++++++++++ abs/core/perl_modules/perl-xml-dom/PKGBUILD | 26 ++++---- .../perl-xml-namespacesupport/PKGBUILD | 38 ++++++----- abs/core/perl_modules/perl-xml-parser/PKGBUILD | 20 +++--- abs/core/perl_modules/perl-xml-regexp/PKGBUILD | 30 +++++---- abs/core/perl_modules/perl-xml-sax-base/PKGBUILD | 34 ++++++++++ abs/core/perl_modules/perl-xml-sax/PKGBUILD | 34 +++++----- .../perl_modules/perl-xml-sax/perl-xml-sax.install | 4 -- .../perl_modules/perl-xml-sax/perl-xml-sax.patch | 9 +-- abs/core/perl_modules/perl-xml-twig/PKGBUILD | 21 ++++--- abs/core/perl_modules/perl-yaml-syck/PKGBUILD | 29 +++++---- 84 files changed, 2175 insertions(+), 522 deletions(-) create mode 100644 abs/core/perl_modules/perl-class-load/PKGBUILD create mode 100644 abs/core/perl_modules/perl-convert-binhex/PKGBUILD create mode 100644 abs/core/perl_modules/perl-convert-binhex/perl-convert-binhex.install create mode 100644 abs/core/perl_modules/perl-data-optlist/PKGBUILD create mode 100644 abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD create mode 100644 abs/core/perl_modules/perl-email-date-format/PKGBUILD create mode 100644 abs/core/perl_modules/perl-encode-locale/PKGBUILD create mode 100644 abs/core/perl_modules/perl-error/perl-error-0.17016-2-x86_64-build.log.1 create mode 100644 abs/core/perl_modules/perl-file-listing/PKGBUILD create mode 100644 abs/core/perl_modules/perl-html-form/PKGBUILD create mode 100644 abs/core/perl_modules/perl-http-cookies/PKGBUILD create mode 100644 abs/core/perl_modules/perl-http-daemon/PKGBUILD create mode 100644 abs/core/perl_modules/perl-http-date/PKGBUILD create mode 100644 abs/core/perl_modules/perl-http-message/PKGBUILD create mode 100644 abs/core/perl_modules/perl-http-negotiate/PKGBUILD create mode 100644 abs/core/perl_modules/perl-http-server-simple/PKGBUILD create mode 100644 abs/core/perl_modules/perl-locale-gettext/compatibility-with-POSIX-module.patch create mode 100644 abs/core/perl_modules/perl-lwp-mediatypes/PKGBUILD delete mode 100644 abs/core/perl_modules/perl-mime-tools/ChangeLog create mode 100644 abs/core/perl_modules/perl-module-implementation/PKGBUILD create mode 100644 abs/core/perl_modules/perl-module-runtime/PKGBUILD create mode 100644 abs/core/perl_modules/perl-net-http/PKGBUILD create mode 100644 abs/core/perl_modules/perl-package-deprecationmanager/PKGBUILD create mode 100644 abs/core/perl_modules/perl-package-stash-xs/PKGBUILD create mode 100644 abs/core/perl_modules/perl-package-stash/PKGBUILD create mode 100644 abs/core/perl_modules/perl-params-classify/PKGBUILD create mode 100644 abs/core/perl_modules/perl-params-util/PKGBUILD create mode 100644 abs/core/perl_modules/perl-sub-exporter/PKGBUILD create mode 100644 abs/core/perl_modules/perl-sub-install/PKGBUILD create mode 100644 abs/core/perl_modules/perl-test-fatal/PKGBUILD create mode 100644 abs/core/perl_modules/perl-test-requires/PKGBUILD create mode 100644 abs/core/perl_modules/perl-test-warn/PKGBUILD create mode 100644 abs/core/perl_modules/perl-tree-dag-node/PKGBUILD create mode 100644 abs/core/perl_modules/perl-try-tiny/PKGBUILD create mode 100644 abs/core/perl_modules/perl-www-robotrules/PKGBUILD create mode 100644 abs/core/perl_modules/perl-xml-sax-base/PKGBUILD diff --git a/abs/core/perl_modules/libxml-perl/PKGBUILD b/abs/core/perl_modules/libxml-perl/PKGBUILD index 5867a11..474d3eb 100644 --- a/abs/core/perl_modules/libxml-perl/PKGBUILD +++ b/abs/core/perl_modules/libxml-perl/PKGBUILD @@ -1,11 +1,12 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id: PKGBUILD 55561 2011-09-14 10:11:00Z andrea $ +# Maintainer: Chris Brannon # Contributor: François Charette pkgname=libxml-perl pkgver=0.08 -pkgrel=1 +pkgrel=3 pkgdesc="Perl library for working with XML" -arch=('i686' 'x86_64') +arch=('any') url="http://search.cpan.org/~KMACLEOD/libxml-perl" license=('GPL' 'PerlArtistic') depends=('perlxml>=2.19') @@ -14,10 +15,15 @@ source=(http://www.cpan.org/authors/id/K/KM/KMACLEOD/libxml-perl-$pkgver.tar.gz) md5sums=('0ed5fbdda53d1301ddaed88db10503bb') build() { - cd $startdir/src/libxml-perl-$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 + cd "${srcdir}"/$pkgname-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + + find "${pkgdir}" -name '.packlist' -delete + find "${pkgdir}" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-archive-zip/PKGBUILD b/abs/core/perl_modules/perl-archive-zip/PKGBUILD index 0559fe6..62ace36 100644 --- a/abs/core/perl_modules/perl-archive-zip/PKGBUILD +++ b/abs/core/perl_modules/perl-archive-zip/PKGBUILD @@ -1,28 +1,28 @@ -# Maintainer: Jan de Groot +# $Id: PKGBUILD 150362 2012-02-17 07:51:32Z allan $ +# Maintainer: Allan McRae # Contributor: Andrew Simmons pkgname=perl-archive-zip _realname=Archive-Zip -pkgver=1.23 -pkgrel=2 +pkgver=1.30 +pkgrel=3 pkgdesc="Provide a perl interface to ZIP archive files" -arch=(i686 x86_64) +arch=(any) license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" depends=('perl>=5.10.0') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz) -md5sums=('7ffcbdc1b603307235fb8d42084cb84d') - +md5sums=('40153666e7538b410e001aa8a810e702') build() { - cd ${startdir}/src/${_realname}-${pkgver} + cd ${srcdir}/${_realname}-${pkgver} # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${startdir}/pkg || return 1 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} - # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete +package() { + cd ${srcdir}/${_realname}-${pkgver} + make install DESTDIR=${pkgdir} } diff --git a/abs/core/perl_modules/perl-class-factory-util/PKGBUILD b/abs/core/perl_modules/perl-class-factory-util/PKGBUILD index dadcff8..c9da049 100644 --- a/abs/core/perl_modules/perl-class-factory-util/PKGBUILD +++ b/abs/core/perl_modules/perl-class-factory-util/PKGBUILD @@ -1,8 +1,9 @@ -# $Id:$ +# $Id: PKGBUILD 65743 2012-02-22 12:12:49Z spupykin $ + pkgname=perl-class-factory-util _realname=Class-Factory-Util pkgver=1.7 -pkgrel=1 +pkgrel=4 pkgdesc="Provide utility methods for factory classes" arch=(i686 x86_64) license=('GPL' 'Artistic') @@ -16,12 +17,15 @@ md5sums=('aebd79da361b676a7ecd3245fc3d1b3f') build() { cd ${srcdir}/${_realname}-${pkgver} # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${pkgdir} || return 1 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd ${srcdir}/${_realname}-${pkgver} + make install DESTDIR=${pkgdir} # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete } - diff --git a/abs/core/perl_modules/perl-class-load/PKGBUILD b/abs/core/perl_modules/perl-class-load/PKGBUILD new file mode 100644 index 0000000..1fc20c4 --- /dev/null +++ b/abs/core/perl_modules/perl-class-load/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 73839 2012-07-16 05:39:18Z spupykin $ +# Maintainer: Sergej Pupykin + +pkgname=perl-class-load +pkgver=0.20 +pkgrel=1 +pkgdesc="a working (require 'Class::Name') and more" +arch=('any') +license=('PerlArtistic' 'GPL') +url="http://search.cpan.org/dist/Class-Load" +options=(!emptydirs) +depends=('perl' 'perl-module-runtime' 'perl-data-optlist' 'perl-package-stash>=0.32' + 'perl-try-tiny' 'perl-test-fatal' 'perl-module-implementation') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-$pkgver.tar.gz) +md5sums=('9ccb131338a6cf1318599c08c095cf72') + +build() { + cd "${srcdir}/Class-Load-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +# make test + make install DESTDIR=${pkgdir} + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete +} diff --git a/abs/core/perl_modules/perl-class-singleton/PKGBUILD b/abs/core/perl_modules/perl-class-singleton/PKGBUILD index 60f71b9..1f80ce9 100644 --- a/abs/core/perl_modules/perl-class-singleton/PKGBUILD +++ b/abs/core/perl_modules/perl-class-singleton/PKGBUILD @@ -1,12 +1,14 @@ +# $Id: PKGBUILD 65747 2012-02-22 12:14:00Z spupykin $ +# Maintainer: Sergej Pupykin # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor: François Charette pkgname=perl-class-singleton pkgver=1.4 -pkgrel=2 +pkgrel=4 pkgdesc="Implementation of a "Singleton" class" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~ABW/Class-Singleton" +arch=('any') +url="http://search.cpan.org/dist/Class-Singleton" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') @@ -14,10 +16,10 @@ source=(http://www.cpan.org/authors/id/A/AB/ABW/Class-Singleton-$pkgver.tar.gz) md5sums=('a18b108ab97e2107cbbe816d2b3e2ee3') build() { - cd $startdir/src/Class-Singleton-$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 + cd $srcdir/Class-Singleton-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-convert-binhex/PKGBUILD b/abs/core/perl_modules/perl-convert-binhex/PKGBUILD new file mode 100644 index 0000000..9b2311b --- /dev/null +++ b/abs/core/perl_modules/perl-convert-binhex/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 143927 2011-11-30 21:19:35Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: Techlive Zheng +# Contributor: Jakub Fišer +# Contributor: Filip S. Adamsen + +pkgname=perl-convert-binhex +pkgver=1.119 +pkgrel=4 +pkgdesc="Perl module to extract data from Macintosh BinHex files" +arch=('any') +url="http://search.cpan.org/~eryq/Convert-BinHex-1.119/" +license=('PerlArtistic') +depends=('perl') +options=('!emptydirs') +install=${pkgname}.install +source=("http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/Convert-BinHex-$pkgver.tar.gz") +md5sums=('ba70ad1772abac6270078f28197a7961') + +build() { + cd "${srcdir}/Convert-BinHex-${pkgver}" + + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}/Convert-BinHex-${pkgver}" + + make DESTDIR="${pkgdir}/" install + + # remove perllocal.pod and .packlist + find "${pkgdir}" -name perllocal.pod -delete + find "${pkgdir}" -name .packlist -delete +} diff --git a/abs/core/perl_modules/perl-convert-binhex/perl-convert-binhex.install b/abs/core/perl_modules/perl-convert-binhex/perl-convert-binhex.install new file mode 100644 index 0000000..398bfbe --- /dev/null +++ b/abs/core/perl_modules/perl-convert-binhex/perl-convert-binhex.install @@ -0,0 +1,8 @@ +post_install() { + echo -n "module test... " + perl -mConvert::BinHex -e "exit 0;" 2> /dev/null && echo 'pass.' || echo 'fail.' +} + +post_upgrade() { + post_install +} diff --git a/abs/core/perl_modules/perl-crypt-ssleay/PKGBUILD b/abs/core/perl_modules/perl-crypt-ssleay/PKGBUILD index bc561d6..ccaab5e 100644 --- a/abs/core/perl_modules/perl-crypt-ssleay/PKGBUILD +++ b/abs/core/perl_modules/perl-crypt-ssleay/PKGBUILD @@ -1,10 +1,10 @@ -# $Id$ +# $Id: PKGBUILD 160515 2012-06-02 10:27:13Z bluewind $ # Maintainer: Giovanni Scafora # Contributor: François Charette pkgname=perl-crypt-ssleay pkgver=0.58 -pkgrel=3 +pkgrel=4 pkgdesc="OpenSSL glue that provides LWP https support" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Crypt-SSLeay" diff --git a/abs/core/perl_modules/perl-data-optlist/PKGBUILD b/abs/core/perl_modules/perl-data-optlist/PKGBUILD new file mode 100644 index 0000000..162c662 --- /dev/null +++ b/abs/core/perl_modules/perl-data-optlist/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Justin Davis +# $Id: PKGBUILD 57546 2011-10-30 17:27:04Z juster $ + +pkgname=perl-data-optlist +pkgver=0.107 +pkgrel=1 +pkgdesc="parse and validate simple name/value option pairs" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl-params-util' 'perl-scalar-list-utils' 'perl-sub-install>=0.921') +makedepends=('perl-extutils-makemaker>=6.30') +checkdepends=('perl-test-simple') +url=https://metacpan.org/release/Data-OptList +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-${pkgver}.tar.gz") +md5sums=(17177b3cfb8941780a8736f9b9b30421) +sha512sums=(06d0ca9b2f6142ea4c0de8c6f858bd96fb3964490e50f1caa677e2d53e144a4ce6c89097ad99d390ea86436923a449df8a38bd9064b0b91290b836f084d765f2) +_distdir="${srcdir}/Data-OptList-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-date-manip/PKGBUILD b/abs/core/perl_modules/perl-date-manip/PKGBUILD index be50d1a..0ef2f9c 100644 --- a/abs/core/perl_modules/perl-date-manip/PKGBUILD +++ b/abs/core/perl_modules/perl-date-manip/PKGBUILD @@ -1,28 +1,29 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 161416 2012-06-11 02:54:05Z eric $ # Maintainer: Kevin Piche # Contributor: Andrew Simmons pkgname=perl-date-manip _realname=Date-Manip -pkgver=5.54 +pkgver=6.32 pkgrel=1 pkgdesc="Date::Manip - date manipulation routines" -arch=(i686 x86_64) +arch=('any') license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') -options=(!emptydirs) +depends=('perl-yaml-syck') +options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/${_realname}-${pkgver}.tar.gz) -md5sums=('16c343329bad644b17f4f8ec5fb243cf') +md5sums=('0d5c1ee2f75f6407fb1035e3535f650b') build() { - cd ${startdir}/src/${_realname}-${pkgver} + cd "${srcdir}/${_realname}-${pkgver}" + # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${startdir}/pkg || return 1 + perl Build.PL installdirs=vendor destdir="${pkgdir}" + perl Build +} - # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete +package() { + cd "${srcdir}/${_realname}-${pkgver}" + perl Build install } diff --git a/abs/core/perl_modules/perl-datetime-format-builder/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-builder/PKGBUILD index 10df715..71c3ed6 100644 --- a/abs/core/perl_modules/perl-datetime-format-builder/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-format-builder/PKGBUILD @@ -1,9 +1,9 @@ -# CPAN Name : DateTime-Format-Builder +# $Id: PKGBUILD 65778 2012-02-22 12:27:49Z spupykin $ # Contributor: Caleb Cushing -# Generator : CPANPLUS::Dist::Arch 0.18 + pkgname=perl-datetime-format-builder pkgver=0.8000 -pkgrel=3 +pkgrel=6 pkgdesc="Create DateTime parser classes and objects" arch=('i686' 'x86_64') license=('PerlArtistic' 'GPL') @@ -15,14 +15,16 @@ source=('http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Bui md5sums=('f6c5d5a17b5b7478ff555a2d3cce5136') build() { - DIST_DIR="${srcdir}/DateTime-Format-Builder-0.80" export PERL_MM_USE_DEFAULT=1 - { cd "$DIST_DIR" && - perl Makefile.PL INSTALLDIRS=vendor && - make && - make test && - make DESTDIR="$pkgdir" install; - } || return 1; + + cd "${srcdir}/DateTime-Format-Builder-0.80" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}/DateTime-Format-Builder-0.80" + make DESTDIR="$pkgdir" install find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } diff --git a/abs/core/perl_modules/perl-datetime-format-iso8601/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-iso8601/PKGBUILD index 360b88a..c8e07df 100644 --- a/abs/core/perl_modules/perl-datetime-format-iso8601/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-format-iso8601/PKGBUILD @@ -1,26 +1,32 @@ +# $Id: PKGBUILD 66111 2012-02-23 01:12:06Z spupykin $ +# Maintainer: Sergej Pupykin # Contributor: Lukas Fleischer pkgname=perl-datetime-format-iso8601 -pkgver=0.07 +pkgver=0.08 pkgrel=1 -pkgdesc="Parses ISO8601 formats." -arch=('i686' 'x86_64') +pkgdesc="Parses ISO8601 formats" +arch=('any') url="http://search.cpan.org/dist/DateTime-Format-ISO8601/" license=('PerlArtistic') -depends=('perl-datetime-format-builder>=0.770.0' 'perl-datetime>=0.18') -#makedepends=('perl-module-build>=0.350.0') +depends=('perl-datetime-format-builder' 'perl-datetime') +makedepends=() optdepends=('perl-file-find-rule' 'perl-test-distribution' 'perl-test-pod') options=(!emptydirs) source=("http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-$pkgver.tar.gz") -md5sums=('debb51180d0318ae09cad01c544a1d7d') +md5sums=('b7c0a4b5e767a8d3b87f3dc678d8c30c') build() { cd $srcdir/DateTime-Format-ISO8601-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR="${pkgdir}" || return 1 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/DateTime-Format-ISO8601-$pkgver + make install DESTDIR="${pkgdir}" find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete } diff --git a/abs/core/perl_modules/perl-datetime-locale/PKGBUILD b/abs/core/perl_modules/perl-datetime-locale/PKGBUILD index c775d0d..219e9c2 100644 --- a/abs/core/perl_modules/perl-datetime-locale/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-locale/PKGBUILD @@ -1,23 +1,24 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id: PKGBUILD 65785 2012-02-22 12:32:13Z spupykin $ +# Maintainer: Sergej Pupykin # Contributor: François Charette pkgname=perl-datetime-locale -pkgver=0.42 -pkgrel=1 +pkgver=0.45 +pkgrel=2 pkgdesc="Localization support for DateTime.pm " -arch=('i686' 'x86_64') -url="http://search.cpan.org/~DROLSKY/DateTime-Locale" +arch=(any) +url="http://search.cpan.org/dist/DateTime-Locale" license=('GPL' 'PerlArtistic') depends=('perl-params-validate' 'perl-list-moreutils') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz) +source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz) +md5sums=('8ba6a4b70f8fa7d987529c2e2c708862') build() { - cd $startdir/src/DateTime-Locale-$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 + cd $srcdir/DateTime-Locale-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } -md5sums=('2f40350ef1c697f1bc402220824f6a7a') diff --git a/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD b/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD index 65c7e9d..7fe325f 100644 --- a/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD @@ -1,23 +1,28 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id: PKGBUILD 73843 2012-07-16 05:40:15Z spupykin $ +# Maintainer: Sergej Pupykin # Contributor: François Charette pkgname=perl-datetime-timezone -pkgver=0.84 +pkgver=1.46 pkgrel=1 pkgdesc="Time zone object base class and factory " -arch=('i686' 'x86_64') -url="http://search.cpan.org/~DROLSKY/DateTime-TimeZone" +arch=(any) +url="http://search.cpan.org/dist/DateTime-TimeZone" license=('GPL' 'PerlArtistic') -depends=('perl-class-singleton>=1.03' 'perl-params-validate>=0.72') +depends=('perl-class-singleton>=1.03' 'perl-params-validate>=0.72' 'perl-class-load') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz) +source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz) +md5sums=('e83f412286d7787e3dfd5427a1943569') build() { - cd $startdir/src/DateTime-TimeZone-$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 + cd $srcdir/DateTime-TimeZone-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/DateTime-TimeZone-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } -md5sums=('e6f36fa00425d64377aeae74a7da0ac3') diff --git a/abs/core/perl_modules/perl-datetime/PKGBUILD b/abs/core/perl_modules/perl-datetime/PKGBUILD index 0b32ce3..839ff1c 100644 --- a/abs/core/perl_modules/perl-datetime/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime/PKGBUILD @@ -1,29 +1,37 @@ -# $Id: PKGBUILD 31942 2010-11-08 11:04:10Z spupykin $ +# $Id: PKGBUILD 71765 2012-06-02 10:29:58Z bluewind $ # Maintainer: Sergej Pupykin # Contributor: François Charette pkgname=perl-datetime -pkgver=0.65 -pkgrel=1 +pkgver=0.72 +pkgrel=2 pkgdesc="A complete, easy to use date and time object" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/DateTime" license=('GPL' 'PerlArtistic') -depends=('perl-datetime-timezone>=0.59' 'perl-datetime-locale>=0.41' 'perl-params-validate>=0.76') +depends=('perl-datetime-timezone>=0.59' 'perl-datetime-locale>=0.41' + 'perl-params-validate>=0.76' 'perl-math-round') LC_NUMERIC=C provides=("perl-datetime=`printf %.4f $pkgver`") -options=('!emptydirs' 'force') +options=('!emptydirs') source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz) -md5sums=('99fd327152d3a462ba575c8c74d5cb65') +md5sums=('f50b328919fe8bf2d2b16ca0df35c3f3') build() { cd $srcdir/DateTime-$pkgver - perl Build.PL installdirs=vendor destdir="$pkgdir/" ./Build +} + +check() { + cd $srcdir/DateTime-$pkgver # ./Build test - ./Build install + true +} +package() { + cd $srcdir/DateTime-$pkgver + ./Build install find $pkgdir -name '.packlist' -delete find $pkgdir -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-dbd-mysql/PKGBUILD b/abs/core/perl_modules/perl-dbd-mysql/PKGBUILD index 03e801a..889f627 100644 --- a/abs/core/perl_modules/perl-dbd-mysql/PKGBUILD +++ b/abs/core/perl_modules/perl-dbd-mysql/PKGBUILD @@ -1,34 +1,45 @@ -# $Id: PKGBUILD 82506 2010-06-12 19:27:47Z kevin $ -# Maintainer: Kevin Piche +# $Id: PKGBUILD 161944 2012-06-16 19:18:00Z eric $ +# Maintainer: kevin # Contributor: Eric Johnson pkgname=perl-dbd-mysql _realname=DBD-mysql -pkgver=4.014 -pkgrel=2 +pkgver=4.021 +pkgrel=1 pkgdesc="Perl/CPAN DBD::mysql module for interacting with MySQL via DBD" arch=('i686' 'x86_64') license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('libmysqlclient' 'perl-dbi' 'perl>=5.10.0') +depends=('libmysqlclient' 'perl-dbi') makedepends=('mysql') -options=(!emptydirs) +options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/${_realname}-${pkgver}.tar.gz) -md5sums=('74f118a4984e6a49f8ece28e68caf543') +md5sums=('35653efca4bbe6e49ef31d237b4a50b7') build() { - cd ${srcdir}/${_realname}-${pkgver} + cd "${srcdir}/${_realname}-${pkgver}" # install module in vendor directories. - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + perl Makefile.PL INSTALLDIRS=vendor --testsocket=/tmp/socket.mysql + make } -package() { - cd ${srcdir}/${_realname}-${pkgver} - make install DESTDIR=${pkgdir} || return 1 +check() { + cd "${srcdir}/${_realname}-${pkgver}" + mkdir -p /tmp/mysql_test + mysql_install_db \ + --basedir=/usr \ + --datadir=/tmp/mysql_test + mysqld -P 17999 \ + --socket=/tmp/socket.mysql \ + --datadir=/tmp/mysql_test & + sleep 10 + DAEMON_PORT=$! + make test || true + kill -9 $DAEMON_PORT +} - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" } diff --git a/abs/core/perl_modules/perl-dbi/PKGBUILD b/abs/core/perl_modules/perl-dbi/PKGBUILD index 8bc53e3..602acd0 100644 --- a/abs/core/perl_modules/perl-dbi/PKGBUILD +++ b/abs/core/perl_modules/perl-dbi/PKGBUILD @@ -1,19 +1,19 @@ -# $Id$ +# $Id: PKGBUILD 163571 2012-07-16 03:09:15Z eric $ # Maintainer: kevin # Contributor: Matt Thompson pkgname=perl-dbi _realname=DBI -pkgver=1.616 -pkgrel=2 +pkgver=1.622 +pkgrel=1 pkgdesc="Database independent interface for Perl" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.12.1') -options=(!emptydirs) +depends=('perl') +options=('!emptydirs') source=(http://www.cpan.org/authors/id/T/TI/TIMB/${_realname}-${pkgver}.tar.gz) -md5sums=('799313e54a693beb635b47918458f7c4') +md5sums=('9836bcf1b9acc842089aa10b16736909') build() { cd "${srcdir}/${_realname}-${pkgver}" @@ -21,6 +21,10 @@ build() { # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" make test } diff --git a/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD b/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD new file mode 100644 index 0000000..fc8bd28 --- /dev/null +++ b/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Justin Davis +# $Id: PKGBUILD 57550 2011-10-30 17:28:15Z juster $ + +pkgname=perl-dist-checkconflicts +pkgver=0.02 +pkgrel=1 +pkgdesc="declare version conflicts for your dist" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl-list-moreutils>=0.12' 'perl-sub-exporter') +makedepends=('perl-extutils-makemaker>=6.31') +checkdepends=('perl-test-fatal' 'perl-test-simple') +url=https://metacpan.org/release/Dist-CheckConflicts +source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-${pkgver}.tar.gz") +md5sums=(64b8d342ba11336b2969c274a60bbc5f) +sha512sums=(e3a342141b13e3604f226d53706fa50b6dc9f96c39ad9c83b074289aff852cbbab97bdf7d389d426116f609589e3d0282b033e79230a5a4ed8782e2b0e58426d) +_distdir="${srcdir}/Dist-CheckConflicts-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-email-date-format/PKGBUILD b/abs/core/perl_modules/perl-email-date-format/PKGBUILD new file mode 100644 index 0000000..6625738 --- /dev/null +++ b/abs/core/perl_modules/perl-email-date-format/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 150522 2012-02-18 12:04:18Z allan $ +# Maintainer: +# Contributor: Sergej Pupykin + +pkgname=perl-email-date-format +pkgver=1.002 +pkgrel=3 +pkgdesc="produce RFC 2822 date strings" +arch=('any') +url="http://search.cpan.org/dist/Email-Date-Format" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Date-Format-$pkgver.tar.gz") +md5sums=('7ae25275da6ab272aa8b40141eac9f82') + +build() { + cd "${srcdir}"/Email-Date-Format-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}"/Email-Date-Format-$pkgver + make DESTDIR="${pkgdir}" install +} diff --git a/abs/core/perl_modules/perl-encode-locale/PKGBUILD b/abs/core/perl_modules/perl-encode-locale/PKGBUILD new file mode 100644 index 0000000..05b129b --- /dev/null +++ b/abs/core/perl_modules/perl-encode-locale/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer : Justin "juster" Davis +# Generator : pbjam 0.01 +# $Id: PKGBUILD 150524 2012-02-18 12:06:36Z allan $ + +pkgname=perl-encode-locale +pkgver=1.03 +pkgrel=1 +pkgdesc="Determine the locale encoding" +arch=(any) +license=(PerlArtistic GPL) +options=('!emptydirs') +depends=('perl>=5.008') +makedepends=() +checkdepends=() +conflicts=('perl-libwww<6') +url=http://search.cpan.org/dist/Encode-Locale +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-1.02.tar.gz) +md5sums=('96a950ee9b57e47e2b990b4c5dd7bf6e') +sha512sums=('7263de267486c835f37dd51da573c5002921a8365124e03eeed1e7a97bac368fff42351d6d31e05d3e596f3486ca5506d985f3992652908948006701d21663cf') +_distdir="${srcdir}/Encode-Locale-1.02" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-error/perl-error-0.17016-2-x86_64-build.log.1 b/abs/core/perl_modules/perl-error/perl-error-0.17016-2-x86_64-build.log.1 new file mode 100644 index 0000000..92c6633 --- /dev/null +++ b/abs/core/perl_modules/perl-error/perl-error-0.17016-2-x86_64-build.log.1 @@ -0,0 +1,72 @@ +Checking if your kit is complete... +Looks good +Writing Makefile for Error +Writing MYMETA.yml and MYMETA.json +cp lib/Error.pm blib/lib/Error.pm +cp lib/Error/Simple.pm blib/lib/Error/Simple.pm +Manifying blib/man3/Error.3pm +Manifying blib/man3/Error::Simple.3pm +PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t +t/01throw.t .......................... ok +t/02order.t .......................... ok +t/03throw-non-Error.t ................ ok +t/04use-base-Error-Simple.t .......... ok +t/05text-errors-with-file-handles.t .. ok +t/06customize-text-throw.t ........... ok +t/07try-in-obj-destructor.t .......... ok + +# Failed test 'warn \n-terminated STDERR' +# at t/08warndie.t line 77. +# 'A warning at t/08warndie.t line 73.: +# main::__ANON__() called at t/08warndie.t line 37 +# main::run_kid('CODE(0x1c905f0)') called at t/08warndie.t line 74 +# ' +# doesn't match '(?^:^A warning at (?^:t\/08warndie\.t) line 73: +# \tmain::__ANON__\(\) called at (?^:t\/08warndie\.t) line 37 +# \tmain::run_kid\('CODE\(0x[0-9a-f]+\)'\) called at (?^:t\/08warndie\.t) line 74 +# $)' + +# Failed test 'warn unterminated STDERR' +# at t/08warndie.t line 89. +# 'A warning at t/08warndie.t line 85.: +# main::__ANON__() called at t/08warndie.t line 37 +# main::run_kid('CODE(0x1c908f0)') called at t/08warndie.t line 86 +# ' +# doesn't match '(?^:^A warning at (?^:t\/08warndie\.t) line 85: +# \tmain::__ANON__\(\) called at (?^:t\/08warndie\.t) line 37 +# \tmain::run_kid\('CODE\(0x[0-9a-f]+\)'\) called at (?^:t\/08warndie\.t) line 86 +# $)' + +# Failed test 'Custom warn STDERR' +# at t/08warndie.t line 192. +# 'My custom warning here: A warning at t/08warndie.t line 188.: +# main::__ANON__() called at t/08warndie.t line 37 +# main::run_kid('CODE(0x1c953e8)') called at t/08warndie.t line 189 +# ' +# doesn't match '(?^:^My custom warning here: A warning at (?^:t\/08warndie\.t) line 188: +# \tmain::__ANON__\(\) called at (?^:t\/08warndie\.t) line 37 +# \tmain::run_kid\('CODE\(0x[0-9a-f]+\)'\) called at (?^:t\/08warndie\.t) line 189 +# $)' +# Looks like you failed 3 tests of 21. +t/08warndie.t ........................ +Dubious, test returned 3 (wstat 768, 0x300) +Failed 3/21 subtests +t/09dollar-at.t ...................... ok +t/10throw-in-catch.t ................. ok +t/11rethrow.t ........................ ok +t/12wrong-error-var.t ................ ok +t/13except-arg0.t .................... ok +t/pod-coverage.t ..................... skipped: Test::Pod::Coverage 1.04 required for testing POD coverage +t/pod.t .............................. ok + +Test Summary Report +------------------- +t/08warndie.t (Wstat: 768 Tests: 21 Failed: 3) + Failed tests: 4, 6, 18 + Non-zero exit status: 3 +Files=15, Tests=62, 0 wallclock secs ( 0.05 usr 0.02 sys + 0.23 cusr 0.04 csys = 0.34 CPU) +Result: FAIL +Failed 1/15 test programs. 3/62 subtests failed. +make: *** [test_dynamic] Error 255 +==> ERROR:(B A failure occurred in build().(B + Aborting...(B diff --git a/abs/core/perl_modules/perl-fcgi/PKGBUILD b/abs/core/perl_modules/perl-fcgi/PKGBUILD index 3a97d1e..a03c4ba 100644 --- a/abs/core/perl_modules/perl-fcgi/PKGBUILD +++ b/abs/core/perl_modules/perl-fcgi/PKGBUILD @@ -1,23 +1,31 @@ -# Maintainer: Allan McRae +# $Id: PKGBUILD 160531 2012-06-02 10:27:39Z bluewind $ +# Maintainer: Giovanni Scafora # Contributor: François Charette pkgname=perl-fcgi -pkgver=0.71 -pkgrel=1 +pkgver=0.74 +pkgrel=3 pkgdesc="Fast CGI" arch=('i686' 'x86_64') -url="http://search.cpan.org/~SKIMO/FCGI" +url="http://search.cpan.org/dist/FCGI" license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +depends=('perl') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-$pkgver.tar.gz) +source=("http://www.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-${pkgver}.tar.gz") +md5sums=('462a77a0072480fea791a4d3095eb486') build() { - cd $startdir/src/FCGI-$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 + cd "${srcdir}/FCGI-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/FCGI-${pkgver}" + make test +} + +package() { + cd "${srcdir}/FCGI-${pkgver}" + make install DESTDIR="${pkgdir}" } -md5sums=('26bc4ea53ccc9c9c16695e88e46a1cfb') diff --git a/abs/core/perl_modules/perl-file-listing/PKGBUILD b/abs/core/perl_modules/perl-file-listing/PKGBUILD new file mode 100644 index 0000000..8656fc1 --- /dev/null +++ b/abs/core/perl_modules/perl-file-listing/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Justin "juster" Davis +# $Id: PKGBUILD 150631 2012-02-19 01:02:52Z allan $ + +pkgname=perl-file-listing +pkgver=6.04 +pkgrel=1 +pkgdesc="parse directory listing" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.8.8' 'perl-http-date>=6') +conflicts=('perl-libwww<6') +url="http://search.cpan.org/dist/File-Listing" +source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/File-Listing-${pkgver}.tar.gz") +md5sums=('83f636b477741f3a014585bb9cc079a6') +sha512sums=('a84198bc82003daaf88ed23218e34a7a1552dcd2855a9563e9609ce5df167a8295043501534c31614854fc8dd9c04b4af27b4d7320112c613914f94c86c2eeb2') +_distdir="${srcdir}/File-Listing-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-html-form/PKGBUILD b/abs/core/perl_modules/perl-html-form/PKGBUILD new file mode 100644 index 0000000..f14fb80 --- /dev/null +++ b/abs/core/perl_modules/perl-html-form/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 69178 2012-04-10 00:11:28Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer : Justin "juster" Davis + +pkgname=perl-html-form +pkgver=6.03 +pkgrel=1 +pkgdesc="Class that represents an HTML form element" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.8.8' 'perl-html-parser' 'perl-http-message' 'perl-uri>=1.10') +conflicts=('perl-libwww<6') +url=http://search.cpan.org/dist/HTML-Form +source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Form-${pkgver}.tar.gz") +md5sums=('fa6c2680207ed4fef5ea2ef09c210614') + +build() { + cd "${srcdir}/HTML-Form-${pkgver}" + PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null perl Makefile.PL + make +} + +check() { + cd "${srcdir}/HTML-Form-${pkgver}" +# PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test +} + +package() { + cd "${srcdir}/HTML-Form-${pkgver}" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-html-parser/PKGBUILD b/abs/core/perl_modules/perl-html-parser/PKGBUILD index e507ceb..b30443f 100644 --- a/abs/core/perl_modules/perl-html-parser/PKGBUILD +++ b/abs/core/perl_modules/perl-html-parser/PKGBUILD @@ -1,11 +1,11 @@ -# $Id$ +# $Id: PKGBUILD 160535 2012-06-02 10:27:46Z bluewind $ # Maintainer: kevin # Contributor: Manolis Tzanidakis # Contributor: Firmicus pkgname=perl-html-parser _realname=HTML-Parser -pkgver=3.68 +pkgver=3.69 pkgrel=2 pkgdesc="Perl HTML parser class" arch=('i686' 'x86_64') @@ -14,13 +14,17 @@ url="http://search.cpan.org/dist/${_realname}/" depends=('perl-html-tagset' 'perl>=5.12.1') options=(!emptydirs) source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz) -md5sums=('5550b2da7aa94341f1e8a17a4ac20c68') +md5sums=('d22cc6468ce670a56034be907e4e7c54') build() { cd "${srcdir}/${_realname}-${pkgver}" # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" make test } diff --git a/abs/core/perl_modules/perl-html-tagset/PKGBUILD b/abs/core/perl_modules/perl-html-tagset/PKGBUILD index b7bb3bc..3c69273 100644 --- a/abs/core/perl_modules/perl-html-tagset/PKGBUILD +++ b/abs/core/perl_modules/perl-html-tagset/PKGBUILD @@ -1,13 +1,13 @@ -# $Id$ +# $Id: PKGBUILD 150635 2012-02-19 01:16:52Z allan $ # Maintainer: kevin # Contributor: Manolis Tzanidakis pkgname=perl-html-tagset _realname=HTML-Tagset pkgver=3.20 -pkgrel=2 +pkgrel=3 pkgdesc="Data tables useful in parsing HTML" -arch=(any) +arch=('any') license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" depends=('perl>=5.10.0') @@ -22,15 +22,16 @@ build() { # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd ${srcdir}/${_realname}-${pkgver} make test } package() { cd ${srcdir}/${_realname}-${pkgver} make install DESTDIR=${pkgdir} - - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete } + # vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-http-cookies/PKGBUILD b/abs/core/perl_modules/perl-http-cookies/PKGBUILD new file mode 100644 index 0000000..578f05f --- /dev/null +++ b/abs/core/perl_modules/perl-http-cookies/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer : Justin "juster" Davis +# Generator : pbjam 0.01 +# $Id: PKGBUILD 150637 2012-02-19 01:19:55Z allan $ + +pkgname=perl-http-cookies +pkgver=6.01 +pkgrel=1 +pkgdesc="HTTP cookie jars" +arch=(any) +license=(PerlArtistic GPL) +options=('!emptydirs') +depends=('perl>=5.8.8' 'perl-http-date>=6' 'perl-http-message') +makedepends=() +checkdepends=() +conflicts=('perl-libwww<6') +url=http://search.cpan.org/dist/HTTP-Cookies +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Cookies-6.00.tar.gz) +md5sums=('21bed72b30a46604c152b7e25cf1cb45') +sha512sums=('6399383e61a2fbad1dd130e67f51be32c118ed104065c109cde1e1262aed986fe3790231937dbdee861755bb58d365bc6f1dec316750f02700fce5014d1a1753') +_distdir="${srcdir}/HTTP-Cookies-6.00" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-http-daemon/PKGBUILD b/abs/core/perl_modules/perl-http-daemon/PKGBUILD new file mode 100644 index 0000000..bf55adc --- /dev/null +++ b/abs/core/perl_modules/perl-http-daemon/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer : Justin "juster" Davis +# Generator : pbjam 0.01 +# $Id: PKGBUILD 140094 2011-10-06 16:01:26Z bluewind $ + +pkgname=perl-http-daemon +pkgver=6.00 +pkgrel=1 +pkgdesc="a simple http server class" +arch=(any) +license=(PerlArtistic GPL) +options=('!emptydirs') +depends=('perl>=5.8.8' 'perl-http-date>=6' 'perl-http-message' + 'perl-lwp-mediatypes>=6') +makedepends=() +checkdepends=() +conflicts=('perl-libwww<6') +url=http://search.cpan.org/dist/HTTP-Daemon +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Daemon-6.00.tar.gz) +md5sums=(36c8048775b8b53a6fb7c9d781658926) +sha512sums=(9fcdfc46e359bea37b10c979212f14e1cb7a1e0a24d2602b5465426fdac65dd43e4c3a73c4a956505a675a01caeb8385e20723f4362dcaa326a3d829d618b455) +_distdir="${srcdir}/HTTP-Daemon-6.00" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-http-date/PKGBUILD b/abs/core/perl_modules/perl-http-date/PKGBUILD new file mode 100644 index 0000000..20ea327 --- /dev/null +++ b/abs/core/perl_modules/perl-http-date/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer : Justin "juster" Davis +# Generator : pbjam 0.01 +# $Id: PKGBUILD 150639 2012-02-19 01:23:42Z allan $ + +pkgname=perl-http-date +pkgver=6.01 +pkgrel=1 +pkgdesc="date conversion routines" +arch=(any) +license=(PerlArtistic GPL) +options=('!emptydirs') +depends=('perl>=5.8.8') +makedepends=() +checkdepends=() +conflicts=('perl-libwww<6') +url=http://search.cpan.org/dist/HTTP-Date +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Date-6.00.tar.gz) +md5sums=('41b875ac89c14d7f66515b52cdd12acd') +sha512sums=('7101f30a8a3ac333d37d1c4120c3202ebeb961e742cbecd6b4af140fe575da09c3a3e5be3a2c96e8e33fa2d1e29b10abea59434c2c227d9b6386c306a377f81c') +_distdir="${srcdir}/HTTP-Date-6.00" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-http-message/PKGBUILD b/abs/core/perl_modules/perl-http-message/PKGBUILD new file mode 100644 index 0000000..a743973 --- /dev/null +++ b/abs/core/perl_modules/perl-http-message/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer : Justin "juster" Davis +# Generator : pbjam 0.01 +# $Id: PKGBUILD 150641 2012-02-19 01:25:44Z allan $ + +pkgname=perl-http-message +pkgver=6.03 +pkgrel=1 +pkgdesc="HTTP style messages" +arch=(any) +license=(PerlArtistic GPL) +options=('!emptydirs') +depends=('perl>=5.8.8' 'perl-encode-locale>=1' 'perl-html-parser>=3.33' + 'perl-http-date>=6' 'perl-lwp-mediatypes>=6' 'perl-uri>=1.10') +makedepends=() +checkdepends=() +conflicts=('perl-libwww<6') +url=http://search.cpan.org/dist/HTTP-Message +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-6.02.tar.gz) +md5sums=('a6b28e44f7b5e5573362f042d522a456') +sha512sums=('1091346307bf063ea6a65ddc8811da368d6080a11776fa5c4dc9df6beb9c8bc8cbe512fd711d44c43d4bd90a65c7195a1d3d5ed10257ef1e17d2145971d89c3c') +_distdir="${srcdir}/HTTP-Message-6.02" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-http-negotiate/PKGBUILD b/abs/core/perl_modules/perl-http-negotiate/PKGBUILD new file mode 100644 index 0000000..850f45a --- /dev/null +++ b/abs/core/perl_modules/perl-http-negotiate/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer : Justin "juster" Davis +# Generator : pbjam 0.01 +# $Id: PKGBUILD 150643 2012-02-19 01:27:33Z allan $ + +pkgname=perl-http-negotiate +pkgver=6.01 +pkgrel=1 +pkgdesc="choose a variant to serve" +arch=(any) +license=(PerlArtistic GPL) +options=('!emptydirs') +depends=('perl>=5.8.8' 'perl-http-message') +makedepends=() +checkdepends=() +conflicts=('perl-libwww<6') +url=http://search.cpan.org/dist/HTTP-Negotiate +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Negotiate-6.00.tar.gz) +md5sums=('f2d89957d1c4f62a86f18b08e07c2328') +sha512sums=('d608fa0a9a0866c5d934561ea1a13844bab0d27d4ac332f5174e19c768e01675c6562d6bc4c4e4a5530c5a83de8b1edefa002ce42534217eba5a6d4edd779e74') +_distdir="${srcdir}/HTTP-Negotiate-6.00" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-http-server-simple/PKGBUILD b/abs/core/perl_modules/perl-http-server-simple/PKGBUILD new file mode 100644 index 0000000..33dd3f3 --- /dev/null +++ b/abs/core/perl_modules/perl-http-server-simple/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 56432 2011-10-07 09:57:00Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: François Charette + +pkgname=perl-http-server-simple +pkgver=0.44 +pkgrel=1 +pkgdesc="Lightweight HTTP server " +arch=(any) +url="http://search.cpan.org/dist/HTTP-Server-Simple" +license=('GPL' 'PerlArtistic') +depends=('perl-uri') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-$pkgver.tar.gz) +md5sums=('70d4ae98affb9e921ab1478bbdffca3b') + +build() { + cd $srcdir/HTTP-Server-Simple-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-image-size/PKGBUILD b/abs/core/perl_modules/perl-image-size/PKGBUILD index 784d1ce..db516ac 100644 --- a/abs/core/perl_modules/perl-image-size/PKGBUILD +++ b/abs/core/perl_modules/perl-image-size/PKGBUILD @@ -1,30 +1,29 @@ -# $Id$ +# $Id: PKGBUILD 73855 2012-07-16 05:43:31Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: # Contributor: Lukas Jirkovsky # Contributor: Igor Scabini pkgname=perl-image-size -_cpanname=Image-Size -pkgver=3.230 +pkgver=3.232 pkgrel=1 pkgdesc="Read the dimensions of an image in several popular formats" arch=(any) -url="http://search.cpan.org/dist/${_cpanname}/" +url="http://search.cpan.org/dist/Image-Size/" license=('LGPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/${_cpanname}-$pkgver.tar.gz") -md5sums=('17b5cc123a522aa3c4ca842094d0c0ba') +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/Image-Size-$pkgver.tar.gz") +md5sums=('908db185487fabdd293f7759113b3a49') build() { - cd $srcdir/${_cpanname}-$pkgver + cd $srcdir/Image-Size-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd $srcdir/${_cpanname}-$pkgver + cd $srcdir/Image-Size-$pkgver make install DESTDIR="$pkgdir" find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name '*.pod' -delete diff --git a/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD b/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD index 75a906d..e144c03 100644 --- a/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD +++ b/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD @@ -1,31 +1,33 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 163575 2012-07-16 03:26:30Z eric $ # Maintainer: Kevin Piche # Contributor: Manolis Tzanidakis +# Contributor: Francois Charette pkgname=perl-io-socket-ssl -_realname=IO-Socket-SSL -pkgver=1.12 +_cpanname=IO-Socket-SSL +pkgver=1.76 pkgrel=1 -pkgdesc="IO::Socket::SSL - Nearly transparent SSL encapsulation for IO::Socket::INET" -arch=(i686 x86_64) +pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET" +arch=('any') license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" +url="http://search.cpan.org/dist/${_cpanname}/" depends=('perl-net-ssleay' 'perl>=5.10.0') -options=(!emptydirs) -replaces=('io-socket-ssl') -provides=('io-socket-ssl') -source=(http://www.cpan.org/authors/id/S/SU/SULLR/${_realname}-${pkgver}.tar.gz) -md5sums=('0f6e80c15341094df16828a25dbaeeaa') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/S/SU/SULLR/${_cpanname}-${pkgver}.tar.gz) +sha1sums=('b27cfff3b5cf03f223431317abda03d44d1a902d') build() { - cd ${startdir}/src/${_realname}-${pkgver} - # install module in vendor directories. - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${startdir}/pkg || return 1 + cd "${srcdir}/${_cpanname}-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_cpanname}-${pkgver}" + make test +} - # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete +package() { + cd "${srcdir}/${_cpanname}-${pkgver}" + make install DESTDIR="${pkgdir}" } -# vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-io-stringy/PKGBUILD b/abs/core/perl_modules/perl-io-stringy/PKGBUILD index 0fdf300..a39789e 100644 --- a/abs/core/perl_modules/perl-io-stringy/PKGBUILD +++ b/abs/core/perl_modules/perl-io-stringy/PKGBUILD @@ -1,23 +1,34 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id: PKGBUILD 143932 2011-11-30 21:29:16Z giovanni $ +# Maintainer: Giovanni Scafora # Contributor: François Charette pkgname=perl-io-stringy pkgver=2.110 -pkgrel=6 +pkgrel=9 pkgdesc="I/O on in-core objects like strings/arrays" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~DSKOLL/IO-stringy" +arch=('any') +url="http://search.cpan.org/dist/IO-stringy" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DS/DSKOLL/IO-stringy-$pkgver.tar.gz) +source=("http://www.cpan.org/authors/id/D/DS/DSKOLL/IO-stringy-$pkgver.tar.gz") md5sums=('2e6a976cfa5521e815c1fdf4006982de') build() { - cd $startdir/src/IO-stringy-$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 + cd "${srcdir}/IO-stringy-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/IO-stringy-${pkgver}" + make test +} + +package() { + cd "${srcdir}/IO-stringy-${pkgver}" + make install DESTDIR="${pkgdir}" + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-json/PKGBUILD b/abs/core/perl_modules/perl-json/PKGBUILD index 88aade8..fa245f6 100644 --- a/abs/core/perl_modules/perl-json/PKGBUILD +++ b/abs/core/perl_modules/perl-json/PKGBUILD @@ -1,10 +1,10 @@ -# $Id$ +# $Id: PKGBUILD 65872 2012-02-22 13:12:45Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: François Charette pkgname=perl-json pkgver=2.53 -pkgrel=1 +pkgrel=2 pkgdesc="JSON (JavaScript Object Notation) encoder/decoder" arch=('any') url="http://search.cpan.org/dist/JSON" diff --git a/abs/core/perl_modules/perl-libwww/PKGBUILD b/abs/core/perl_modules/perl-libwww/PKGBUILD index 254519a..8aec958 100644 --- a/abs/core/perl_modules/perl-libwww/PKGBUILD +++ b/abs/core/perl_modules/perl-libwww/PKGBUILD @@ -1,32 +1,53 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Kevin Piche -# Contributor: Manolis Tzanidakis +# Packager: Justin "juster" Davis +# $Id: PKGBUILD 150749 2012-02-21 19:40:54Z juster $ pkgname=perl-libwww -_realname=libwww-perl -pkgver=5.808 -pkgrel=2 -pkgdesc="A set of Perl modules which provides a simple and consistent API to the WWW." -arch=(i686 x86_64) -license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perl-uri' 'perl-html-parser' 'perl>=5.10.0') - +pkgver=6.04 +pkgrel=1 +pkgdesc="The World-Wide Web library for Perl" +arch=(any) +license=(PerlArtistic GPL) options=(!emptydirs) -replaces=('libwww-perl') -provides=('libwww-perl') -source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz) -md5sums=('72120d9195ab1649c2d787eb1102a90c') +depends=('perl>=5.8.1' 'perl-encode-locale' 'perl-file-listing>=6' + 'perl-html-parser' 'perl-http-cookies>=6' 'perl-http-daemon>=6' + 'perl-http-date>=6' 'perl-http-negotiate>=6' 'perl-lwp-mediatypes>=6' + 'perl-net-http>=6' 'perl-uri>=1.10' 'perl-www-robotrules>=6' + 'perl-http-message>=6') +optdepends=('perl-lwp-protocol-https: for https:// url schemes') +url=https://metacpan.org/release/libwww-perl +source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${pkgver}.tar.gz") +md5sums=(24acf2fe33b2295f048f8859e9665ee3) +sha512sums=(9ea578e6da99e4002a35ae82d1ee025caf15b3bc7e40fbe71abd7e8592036f16bd0268453dfeedc2c445d957c45ec473b1ed4a1738b644d475d65f7cbdb6927b) +_distdir="${srcdir}/libwww-perl-${pkgver}" + +build() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null -build() { - cd ${startdir}/src/${_realname}-${pkgver} - # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${startdir}/pkg || return 1 + cd "$_distdir" + /usr/bin/perl Makefile.PL + make +) - # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete +check() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test +) + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } -# vim: ts=2 sw=2 et ft=sh + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD b/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD index b926acd..fb62569 100644 --- a/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD +++ b/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD @@ -1,23 +1,25 @@ +# $Id: PKGBUILD 65879 2012-02-22 13:16:53Z spupykin $ +# Maintainer: Sergej Pupykin # Maintainer: Allan McRae # Contributor: François Charette pkgname=perl-lingua-en-numbers-ordinate pkgver=1.02 -pkgrel=2 +pkgrel=4 pkgdesc="Go from cardinal (53) to ordinal (53rd)" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~SBURKE/Lingua-EN-Numbers-Ordinate" +arch=('any') +url="http://search.cpan.org/dist/Lingua-EN-Numbers-Ordinate" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/S/SB/SBURKE/Lingua-EN-Numbers-Ordinate-$pkgver.tar.gz) +source=(http://www.cpan.org/authors/id/S/SB/SBURKE/Lingua-EN-Numbers-Ordinate-$pkgver.tar.gz) md5sums=('e92078fafd9108a137972c4e9bae9e99') build() { - cd $startdir/src/Lingua-EN-Numbers-Ordinate-$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 + cd $srcdir/Lingua-EN-Numbers-Ordinate-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-lingua-en-numbers/PKGBUILD b/abs/core/perl_modules/perl-lingua-en-numbers/PKGBUILD index 53b50a8..c7563cf 100644 --- a/abs/core/perl_modules/perl-lingua-en-numbers/PKGBUILD +++ b/abs/core/perl_modules/perl-lingua-en-numbers/PKGBUILD @@ -1,23 +1,25 @@ +# $Id: PKGBUILD 73857 2012-07-16 05:44:00Z spupykin $ +# Maintainer: Sergej Pupykin # Maintainer: Allan McRae # Contributor: François Charette pkgname=perl-lingua-en-numbers -pkgver=1.01 -pkgrel=2 +pkgver=1.04 +pkgrel=1 pkgdesc="Turn 407 into four hundred and seven, etc." -arch=('i686' 'x86_64') -url="http://search.cpan.org/~SBURKE/Lingua-EN-Numbers" +arch=('any') +url="http://search.cpan.org/dist/Lingua-EN-Numbers" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/S/SB/SBURKE/Lingua-EN-Numbers-$pkgver.tar.gz) -md5sums=('e2f9252b1cdc5002e1f912e20b2f5bbb') +source=(http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Lingua-EN-Numbers-$pkgver.tar.gz) +md5sums=('6b3d8ea645b37ee29b37388caa01b0f3') build() { - cd $startdir/src/Lingua-EN-Numbers-$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 + cd $srcdir/Lingua-EN-Numbers-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD b/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD index 23a6507..fa99326 100644 --- a/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD +++ b/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD @@ -1,23 +1,25 @@ +# $Id: PKGBUILD 65881 2012-02-22 13:17:22Z spupykin $ +# Maintainer: Sergej Pupykin # Maintainer: Allan McRae # Contributor: François Charette pkgname=perl-lingua-preferred pkgver=0.2.4 -pkgrel=2 +pkgrel=4 pkgdesc="Pick a language based on user's preferences" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~EDAVIS/Lingua-Preferred" +arch=('any') +url="http://search.cpan.org/dist/Lingua-Preferred" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz) +source=(http://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz) md5sums=('37e883fafb05b1439de1121f41e8ad75') build() { - cd $startdir/src/Lingua-Preferred-$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 + cd $srcdir/Lingua-Preferred-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-locale-gettext/PKGBUILD b/abs/core/perl_modules/perl-locale-gettext/PKGBUILD index 22efcb7..e2bb2e3 100644 --- a/abs/core/perl_modules/perl-locale-gettext/PKGBUILD +++ b/abs/core/perl_modules/perl-locale-gettext/PKGBUILD @@ -1,28 +1,43 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 160541 2012-06-02 10:27:56Z bluewind $ +# Maintainer: Giovanni Scafora # Contributor: Mark Rosenstand -# Maintainer: Paul Mattal +# Contributor: Paul Mattal pkgname=perl-locale-gettext _realname=gettext pkgver=1.05 -pkgrel=3 -pkgdesc="Permits access from Perl to the gettext() family of functions." -arch=(i686 x86_64) +pkgrel=9 +pkgdesc="Permits access from Perl to the gettext() family of functions" +arch=('i686' 'x86_64') license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('gettext' 'perl>=5.10.0') +depends=('gettext' 'perl') options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz) -md5sums=('f3d3f474a1458f37174c410dfef61a46') +source=("http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz" + 'compatibility-with-POSIX-module.patch') +md5sums=('f3d3f474a1458f37174c410dfef61a46' + '854302f34d01a2f8ae739187788973dd') build() { - cd ${startdir}/src/${_realname}-${pkgver} || return 1 + cd "${srcdir}/${_realname}-${pkgver}" + + patch -Np1 -i ${srcdir}/compatibility-with-POSIX-module.patch # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 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 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + + make test +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete + find "${pkgdir}" -name perllocal.pod -delete + find "${pkgdir}" -name .packlist -delete } diff --git a/abs/core/perl_modules/perl-locale-gettext/compatibility-with-POSIX-module.patch b/abs/core/perl_modules/perl-locale-gettext/compatibility-with-POSIX-module.patch new file mode 100644 index 0000000..ad67551 --- /dev/null +++ b/abs/core/perl_modules/perl-locale-gettext/compatibility-with-POSIX-module.patch @@ -0,0 +1,10 @@ +--- a/gettext.pm 2005-05-31 20:11:16.000000000 -0700 ++++ b/gettext.pm 2009-10-07 12:39:42.000000000 -0700 +@@ -32,6 +32,7 @@ + =cut + + use Carp; ++use POSIX qw(:locale_h); + + require Exporter; + require DynaLoader; diff --git a/abs/core/perl_modules/perl-lwp-mediatypes/PKGBUILD b/abs/core/perl_modules/perl-lwp-mediatypes/PKGBUILD new file mode 100644 index 0000000..625b2bd --- /dev/null +++ b/abs/core/perl_modules/perl-lwp-mediatypes/PKGBUILD @@ -0,0 +1,49 @@ +# Packager: Justin "juster" Davis +# $Id: PKGBUILD 150744 2012-02-21 19:28:44Z juster $ + +pkgname=perl-lwp-mediatypes +pkgver=6.02 +pkgrel=1 +pkgdesc="guess media type for a file or a URL" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.6.2') +conflicts=('perl-libwww<6') +url=https://metacpan.org/release/LWP-MediaTypes +source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/LWP-MediaTypes-${pkgver}.tar.gz") +md5sums=(8c5f25fb64b974d22aff424476ba13c9) +sha512sums=(b2ad33fb2c6dd7afaa9b8dd2ed6a15b2ecc35d13bcdf5297ce1632ea77406def0840a24c5213187707b665f28cc9bbea5774bfd1a4070d1f6192e904f707b94e) +_distdir="${srcdir}/LWP-MediaTypes-${pkgver}" + +build() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make +) + +check() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test +) + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-mailtools/PKGBUILD b/abs/core/perl_modules/perl-mailtools/PKGBUILD index 9c0271f..117352a 100644 --- a/abs/core/perl_modules/perl-mailtools/PKGBUILD +++ b/abs/core/perl_modules/perl-mailtools/PKGBUILD @@ -1,4 +1,4 @@ -# $Id$ +# $Id: PKGBUILD 140680 2011-10-18 03:11:21Z eric $ # Maintainer: Kevin Piche # Contributor: Eric Johnson @@ -7,26 +7,22 @@ _realname=MailTools pkgver=2.08 pkgrel=1 pkgdesc="Perl module that provides email tools" -arch=(any) -license=('PerlArtistic') +arch=('any') url="http://search.cpan.org/dist/${_realname}/" +license=('PerlArtistic') depends=('perl>=5.10.0') -options=(!emptydirs) +options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/${_realname}-${pkgver}.tar.gz) +md5sums=('0245bf7985c6661e0cf31a59657a18f0') build() { - cd ${srcdir}/${_realname}-${pkgver} + cd "${srcdir}/${_realname}-${pkgver}" # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd ${srcdir}/${_realname}-${pkgver} - make install DESTDIR=${pkgdir} - - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" } -md5sums=('0245bf7985c6661e0cf31a59657a18f0') diff --git a/abs/core/perl_modules/perl-math-round/PKGBUILD b/abs/core/perl_modules/perl-math-round/PKGBUILD index 6501887..2881d28 100644 --- a/abs/core/perl_modules/perl-math-round/PKGBUILD +++ b/abs/core/perl_modules/perl-math-round/PKGBUILD @@ -1,22 +1,34 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id: PKGBUILD 143938 2011-11-30 21:38:22Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: François Charette pkgname=perl-math-round pkgver=0.06 -pkgrel=2 +pkgrel=5 pkgdesc="Perl extension for rounding numbers" -arch=('i686' 'x86_64') +arch=('any') url="http://search.cpan.org/dist/Math-Round" license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Round-$pkgver.tar.gz) +source=("http://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Round-$pkgver.tar.gz") md5sums=('552cef2753b246f97a6e20d8dee66e7c') build() { - cd $startdir/src/Math-Round-$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 + cd "${srcdir}/Math-Round-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/Math-Round-${pkgver}" + make test +} + +package() { + cd "${srcdir}/Math-Round-${pkgver}" + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-mime-lite/PKGBUILD b/abs/core/perl_modules/perl-mime-lite/PKGBUILD index f2fd37a..c0cfe7f 100644 --- a/abs/core/perl_modules/perl-mime-lite/PKGBUILD +++ b/abs/core/perl_modules/perl-mime-lite/PKGBUILD @@ -1,29 +1,38 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: eric +# $Id: PKGBUILD 151298 2012-02-25 13:17:16Z pierre $ +# Maintainer: kevin # Contributor: Eric Johnson pkgname=perl-mime-lite _realname=MIME-Lite -pkgver=3.021 +pkgver=3.028 pkgrel=1 pkgdesc="Perl module that provides lightweight MIME generator" -arch=(i686 x86_64) +arch=('any') license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl-mailtools' 'perl-mime-types' 'perl>=5.10.0') -options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_realname}-$pkgver.tar.gz) -md5sums=('7b3f4b9b3f8a0023dbc62859ef9a775f') +depends=('perl-email-date-format' 'perl-mailtools' 'perl-mime-types' 'perl') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_realname}-${pkgver}.tar.gz") +md5sums=('b24770b664db269a2a6e984f66c19fa7') build() { - cd $startdir/src/${_realname}-$pkgver + cd ${srcdir}/${_realname}-${pkgver} # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${startdir}/pkg || return 1 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd ${srcdir}/${_realname}-${pkgver} + make test +} + +package() { + cd ${srcdir}/${_realname}-${pkgver} + make install DESTDIR=${pkgdir} # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete } # vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-mime-tools/ChangeLog b/abs/core/perl_modules/perl-mime-tools/ChangeLog deleted file mode 100644 index 0ece331..0000000 --- a/abs/core/perl_modules/perl-mime-tools/ChangeLog +++ /dev/null @@ -1,4 +0,0 @@ - -2008-01-05 Douglas Soares de Andrade - - * Updated for x86_64 diff --git a/abs/core/perl_modules/perl-mime-tools/PKGBUILD b/abs/core/perl_modules/perl-mime-tools/PKGBUILD index 1979431..7ed81bb 100644 --- a/abs/core/perl_modules/perl-mime-tools/PKGBUILD +++ b/abs/core/perl_modules/perl-mime-tools/PKGBUILD @@ -1,23 +1,37 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id: PKGBUILD 161352 2012-06-10 06:11:24Z giovanni $ +# Maintainer: Giovanni Scafora # Contributor: François Charette pkgname=perl-mime-tools -pkgver=5.426 +pkgver=5.503 pkgrel=1 -pkgdesc="Perl modules for parsing and creating MIME entities" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~DONEILL/MIME-tools" +pkgdesc="Parses streams to create MIME entities" +arch=('any') +url="http://search.cpan.org/dist/MIME-tools" license=('GPL' 'PerlArtistic') -depends=('perl-mailtools' 'perl-io-stringy>=2.11' 'perl>=5.10.0') +depends=('perl-mailtools' 'perl-io-stringy' 'perl-convert-binhex') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DO/DONEILL/MIME-tools-$pkgver.tar.gz) -md5sums=('87ab3a328e56268f551ff3ef5f51f416') +provides=('perl-mime-body=5.428.0' 'perl-mime-decoder' 'perl-mime-decoder-base64' + 'perl-mime-decoder-binary' 'perl-mime-decoder-binhex' 'perl-mime-decoder-gzip64' + 'perl-mime-decoder-nbit' 'perl-mime-decoder-quotedprint' 'perl-mime-decoder-uu' + 'perl-mime-entity' 'perl-mime-field-contdisp=5.428.0' 'perl-mime-field-contraenc=5.428.0' + 'perl-mime-field-conttype=5.428.0' 'perl-mime-field-paramval=5.428.0' 'perl-mime-head=5.428.0' + 'perl-mime-parser' 'perl-mime-parser-filer' 'perl-mime-parser-reader' + 'perl-mime-parser-results' 'perl-mime-worddecoder' 'perl-mime-words=5.428.0') +source=("http://www.cpan.org/authors/id/D/DS/DSKOLL/MIME-tools-${pkgver}.tar.gz") +md5sums=('f86b968e9405318224b7a9f4574505d0') build() { - cd $startdir/src/MIME-tools-$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 + cd "${srcdir}/MIME-tools-${pkgver}" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}/MIME-tools-${pkgver}" + make install DESTDIR="${pkgdir}" + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-mime-types/PKGBUILD b/abs/core/perl_modules/perl-mime-types/PKGBUILD index 3cc06cb..b4b4265 100644 --- a/abs/core/perl_modules/perl-mime-types/PKGBUILD +++ b/abs/core/perl_modules/perl-mime-types/PKGBUILD @@ -1,29 +1,33 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 151300 2012-02-25 13:18:30Z pierre $ # Maintainer: Jan de Groot # Contributor: Charles Mauch pkgname=perl-mime-types _realname=MIME-Types -pkgver=1.24 +pkgver=1.34 pkgrel=1 pkgdesc="Perl/CPAN Module MIME::Types : Information and processing MIME types" -arch=(i686 x86_64) +arch=('any') license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') -makedepends=('perl-test-pod') -options=(!emptydirs) -source=(http://www.cpan.org/authors/id/M/MA/MARKOV/${_realname}-${pkgver}.tar.gz) -md5sums=('fe43cf2caac763f8b02fdd4ced3fd038') +depends=('perl') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/M/MA/MARKOV/${_realname}-${pkgver}.tar.gz") +md5sums=('87c496480e463c0b7792e7f5429e50d1') build() { - cd ${startdir}/src/${_realname}-${pkgver} + cd "${srcdir}/${_realname}-${pkgver}" # install module in vendor directories. - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${startdir}/pkg || return 1 + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} - # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" } diff --git a/abs/core/perl_modules/perl-module-implementation/PKGBUILD b/abs/core/perl_modules/perl-module-implementation/PKGBUILD new file mode 100644 index 0000000..03b2fa5 --- /dev/null +++ b/abs/core/perl_modules/perl-module-implementation/PKGBUILD @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: 3ED + +pkgname=perl-module-implementation +pkgver=0.06 +pkgrel=2 +pkgdesc="Loads one of several alternate underlying implementations for a module" +arch=('any') +license=('PerlArtistic') +options=('!emptydirs') +depends=('perl-module-runtime>=0.012') +checkdepends=('perl-test-requires' 'perl-test-fatal') +url="http://search.cpan.org/dist/Module-Implementation/" +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Module-Implementation-$pkgver.tar.gz) +md5sums=('748f3540162fc52222d761fab3efb266') + +build() { + cd "${srcdir}/Module-Implementation-${pkgver}" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + perl Makefile.PL + make +} + +check() { + cd "${srcdir}/Module-Implementation-${pkgver}" + make test +} + +package() { + cd "${srcdir}/Module-Implementation-${pkgver}" + make install + find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-module-runtime/PKGBUILD b/abs/core/perl_modules/perl-module-runtime/PKGBUILD new file mode 100644 index 0000000..974f137 --- /dev/null +++ b/abs/core/perl_modules/perl-module-runtime/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 66098 2012-02-23 01:03:59Z spupykin $ +# Maintainer: Sergej Pupykin + +pkgname=perl-module-runtime +pkgver=0.013 +pkgrel=1 +pkgdesc="runtime module handling" +arch=('any') +url="http://search.cpan.org/dist/Module-Runtime/" +license=('perl') +depends=('perl-params-classify') +options=(!emptydirs) +source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Module-Runtime-$pkgver.tar.gz") +md5sums=('62b88b1f5f0e975a5d7c80cd46167b97') + +build() { + cd $srcdir/Module-Runtime-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/Module-Runtime-$pkgver + make install DESTDIR="${pkgdir}" + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete +} diff --git a/abs/core/perl_modules/perl-net-http/PKGBUILD b/abs/core/perl_modules/perl-net-http/PKGBUILD new file mode 100644 index 0000000..89eb246 --- /dev/null +++ b/abs/core/perl_modules/perl-net-http/PKGBUILD @@ -0,0 +1,49 @@ +# Packager: Justin "juster" Davis +# $Id: PKGBUILD 150758 2012-02-21 20:00:38Z juster $ + +pkgname=perl-net-http +pkgver=6.03 +pkgrel=1 +pkgdesc="Low-level HTTP connection (client)" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.6.2') +conflicts=('perl-libwww<6') +url=https://metacpan.org/release/Net-HTTP +source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Net-HTTP-${pkgver}.tar.gz") +md5sums=(86957940d96649ca782b686686b82e7b) +sha512sums=(a9ffbe5a4c6e1633b130549bb292c9dce093436e0d80d3a9b2ac95c3d1f5d16d734388a1d52094cb34194a7b8973bfa24c549cced4fdc42f36ec08876f551a32) +_distdir="${srcdir}/Net-HTTP-${pkgver}" + +build() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make +) + +check() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test +) + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-net-ssleay/PKGBUILD b/abs/core/perl_modules/perl-net-ssleay/PKGBUILD index efa9b59..8476265 100644 --- a/abs/core/perl_modules/perl-net-ssleay/PKGBUILD +++ b/abs/core/perl_modules/perl-net-ssleay/PKGBUILD @@ -1,36 +1,38 @@ -# $Id: PKGBUILD 82525 2010-06-12 20:09:39Z kevin $ +# $Id: PKGBUILD 160545 2012-06-02 10:28:03Z bluewind $ # Maintainer: Giovanni Scafora # Contributor: Manolis Tzanidakis pkgname=perl-net-ssleay _cpanname=Net-SSLeay -pkgver=1.36 -pkgrel=3 +pkgver=1.48 +pkgrel=2 pkgdesc="Perl extension for using OpenSSL" arch=('i686' 'x86_64') license=('custom:BSD') url="http://search.cpan.org/dist/${_cpanname}/" -depends=('perl' 'openssl') +depends=('openssl') options=(!emptydirs) replaces=('net-ssleay') provides=('net-ssleay') -source=(http://www.cpan.org/authors/id/F/FL/FLORA/${_cpanname}-${pkgver}.tar.gz) -md5sums=('54061638720dd6a325395331c77f21d8') +source=("http://www.cpan.org/authors/id/M/MI/MIKEM/${_cpanname}-${pkgver}.tar.gz") +md5sums=('4e10d9da28f26732e37807820bf72af5') build() { cd ${srcdir}/${_cpanname}-${pkgver} + # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL -- INSTALLDIRS=vendor || return 1 - make || return 1 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL -- INSTALLDIRS=vendor + make } + package() { cd ${srcdir}/${_cpanname}-${pkgver} - make install DESTDIR=${pkgdir} || return 1 + + make install DESTDIR=${pkgdir} # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete - install -D -m644 README ${pkgdir}/usr/share/licenses/${pkgname}/README + install -D -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -# vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-net-upnp/PKGBUILD b/abs/core/perl_modules/perl-net-upnp/PKGBUILD index a49bd6e..9d2945e 100644 --- a/abs/core/perl_modules/perl-net-upnp/PKGBUILD +++ b/abs/core/perl_modules/perl-net-upnp/PKGBUILD @@ -1,10 +1,10 @@ -# $Id$ +# $Id: PKGBUILD 143946 2011-11-30 21:55:00Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Drew Gilbert pkgname=perl-net-upnp pkgver=1.4.2 -pkgrel=3 +pkgrel=4 pkgdesc="Perl Module UPnP" arch=('i686' 'x86_64') url="http://search.cpan.org/~skonno/Net-UPnP-1.4.2/" @@ -19,7 +19,12 @@ build() { # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor - make + make +} + +package() { + cd "${srcdir}/Net-UPnP-${pkgver}" + make install DESTDIR="${pkgdir}" find ${pkgdir} -name '.packlist' -delete diff --git a/abs/core/perl_modules/perl-package-deprecationmanager/PKGBUILD b/abs/core/perl_modules/perl-package-deprecationmanager/PKGBUILD new file mode 100644 index 0000000..ae69247 --- /dev/null +++ b/abs/core/perl_modules/perl-package-deprecationmanager/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Justin Davis (juster) +# $Id: PKGBUILD 71653 2012-05-31 15:45:01Z juster $ + +pkgname=perl-package-deprecationmanager +pkgver=0.13 +pkgrel=1 +pkgdesc='Manage deprecation warnings for your distribution' +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=(perl-list-moreutils perl-params-util perl-sub-install) +checkdepends=(perl-test-fatal perl-test-requires) +url=https://metacpan.org/release/Package-DeprecationManager +source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-$pkgver.tar.gz") +md5sums=(f81ae3c0f9bcac048eb4bff348b79f67) +sha512sums=(393841bc8a6a96dfc3ce9e2787d532f0e5ba45ef07a8d95be4450ad399b0ae3c4929f8abf07892194fca85c7de75c118a5b611a816b565a7945e34ebca36c4a8) +_dir="$srcdir/Package-DeprecationManager-$pkgver" + +build() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() +( + cd "$_dir" + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +) + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-package-stash-xs/PKGBUILD b/abs/core/perl_modules/perl-package-stash-xs/PKGBUILD new file mode 100644 index 0000000..ee83389 --- /dev/null +++ b/abs/core/perl_modules/perl-package-stash-xs/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Justin Davis +# $Id: PKGBUILD 71819 2012-06-02 10:31:46Z bluewind $ + +pkgname=perl-package-stash-xs +pkgver=0.25 +pkgrel=2 +pkgdesc="faster and more correct implementation of the Package::Stash API" +arch=(i686 x86_64) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.8.1') +makedepends=('perl-extutils-makemaker>=6.30') +checkdepends=('perl-test-fatal' 'perl-test-simple') +url=https://metacpan.org/release/Package-Stash-XS +source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-${pkgver}.tar.gz") +md5sums=(52ece18842c46da8fb7a4a14dea910ab) +sha512sums=(2b539d9ba1a68c5ba681e9eabbcde4b396f66dc8dbd3b1e333286ea7ce39b93b97ec4bd97c31681720a925553b128371ce2c48f11254806aebd5de868a22b528) +_distdir="${srcdir}/Package-Stash-XS-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-package-stash/PKGBUILD b/abs/core/perl_modules/perl-package-stash/PKGBUILD new file mode 100644 index 0000000..b985727 --- /dev/null +++ b/abs/core/perl_modules/perl-package-stash/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Justin Davis +# $Id: PKGBUILD 57663 2011-11-01 00:48:37Z juster $ + +pkgname=perl-package-stash +pkgver=0.33 +pkgrel=2 +pkgdesc="routines for manipulating stashes" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.8.1' 'perl-dist-checkconflicts>=0.02' + 'perl-package-deprecationmanager' 'perl-scalar-list-utils' + 'perl-package-stash-xs>=0.24') +makedepends=('perl-extutils-makemaker>=6.30') +checkdepends=('perl-test-fatal' 'perl-test-requires' 'perl-test-simple') +url=https://metacpan.org/release/Package-Stash +source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-${pkgver}.tar.gz") +md5sums=(fe1f6efa0dbd46f8520903b436f185f1) +sha512sums=(8b3e62caa7ac99f1429d4ab4c3a00265a8ca2aa6281c5c254c4fb455d8a262c445a1daafa405208f902fd352e18ef121a37303ceb27caabb0bdc3c14b807508b) +_distdir="${srcdir}/Package-Stash-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-params-classify/PKGBUILD b/abs/core/perl_modules/perl-params-classify/PKGBUILD new file mode 100644 index 0000000..d0dae4a --- /dev/null +++ b/abs/core/perl_modules/perl-params-classify/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 71821 2012-06-02 10:31:50Z bluewind $ +# Maintainer: Sergej Pupykin + +pkgname=perl-params-classify +pkgver=0.013 +pkgrel=2 +pkgdesc="argument type classification" +arch=(i686 x86_64) +license=('PerlArtistic') +url="http://search.cpan.org/~zefram/Params-Classify" +options=(!emptydirs) +depends=('perl>=5.10.1') +source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-$pkgver.tar.gz") +md5sums=('63d24fbec775472ada49d16bce4a9b1f') + +build() { + cd $srcdir/Params-Classify-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=${pkgdir} + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete +} diff --git a/abs/core/perl_modules/perl-params-util/PKGBUILD b/abs/core/perl_modules/perl-params-util/PKGBUILD new file mode 100644 index 0000000..415ad58 --- /dev/null +++ b/abs/core/perl_modules/perl-params-util/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Justin Davis (juster) +# $Id: PKGBUILD 72466 2012-06-15 00:05:46Z juster $ + +pkgname=perl-params-util +pkgver=1.07 +pkgrel=1 +pkgdesc='Simple, compact and correct param-checking functions' +arch=(i686 x86_64) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.5.30') +url=https://metacpan.org/release/Params-Util +source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-$pkgver.tar.gz") +md5sums=(02db120c0eef87aae1830cc62bdec37b) +sha512sums=(ff471b01b33414fc5e1c68d97c21171a95d3418c33e3c45f9910cc768898690e35051506a83ad9403a200336654c14b8efc9d471c4b3fe3321047a7603d6fd56) +_dir="$srcdir/Params-Util-$pkgver" + +build() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() +( + cd "$_dir" + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +) + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-params-validate/PKGBUILD b/abs/core/perl_modules/perl-params-validate/PKGBUILD index 2dd4124..b14f42d 100644 --- a/abs/core/perl_modules/perl-params-validate/PKGBUILD +++ b/abs/core/perl_modules/perl-params-validate/PKGBUILD @@ -1,30 +1,27 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id: PKGBUILD 71825 2012-06-02 10:31:58Z bluewind $ +# Maintainer: Sergej Pupykin # Contributor: François Charette pkgname=perl-params-validate -pkgver=0.98 -pkgrel=2 +pkgver=1.06 +pkgrel=3 pkgdesc="Validate sub params against a spec" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Params-Validate" license=('GPL' 'PerlArtistic') -depends=('perl') +depends=('perl' 'perl-module-implementation') options=('!emptydirs') source=("http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-${pkgver}.tar.gz") -md5sums=('6dacb26b1bdb6338b6eed45cd86958bb') +md5sums=('4f7a281269cd30d7c3994ba5acb50857') build() { cd Params-Validate-${pkgver} - perl ./Build.PL --installdirs=vendor - ./Build } package(){ cd Params-Validate-${pkgver} - ./Build install --destdir=${pkgdir} - find ${pkgdir} -name '.packlist' -delete find ${pkgdir} -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-soap-lite/PKGBUILD b/abs/core/perl_modules/perl-soap-lite/PKGBUILD index d732ea6..d885fcb 100644 --- a/abs/core/perl_modules/perl-soap-lite/PKGBUILD +++ b/abs/core/perl_modules/perl-soap-lite/PKGBUILD @@ -1,24 +1,58 @@ -# Maintainer: Allan McRae +# $Id: PKGBUILD 163581 2012-07-16 06:21:11Z giovanni $ +# Maintainer: Giovanni Scafora # Contributor: François Charette pkgname=perl-soap-lite -pkgver=0.710.08 +pkgver=0.715 pkgrel=1 pkgdesc="Client and server side SOAP implementation" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~MKUTTER/SOAP-Lite" +arch=('any') +url="http://search.cpan.org/dist/SOAP-Lite" license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0' 'perl-crypt-ssleay' 'perl-mime-lite' 'perl-libwww' 'perl-uri' \ - 'perl-mime-tools' 'perl-io-socket-ssl' 'perlxml>=2.23' 'perl-fcgi') +depends=('perl' 'perl-crypt-ssleay' 'perl-mime-lite' 'perl-libwww' 'perl-uri' \ + 'perl-mime-tools' 'perl-io-socket-ssl' 'perl-xml-parser' 'perl-fcgi' \ + 'perl-class-inspector' ) options=('!emptydirs') -source=(http://www.cpan.org/authors/id/M/MK/MKUTTER/SOAP-Lite-$pkgver.tar.gz) -md5sums=('e7869ad91fee76cc1782fe29fe3a989d') +provides=( + perl-apache-soap + perl-apache-xmlrpc-lite + perl-io-sessiondata=1.20.0 + perl-io-sessionset + perl-soap-constants + perl-soap-lite-deserializer-xmlschema1999 + perl-soap-lite-deserializer-xmlschema2001 + perl-soap-lite-deserializer-xmlschemasoap1_1 + perl-soap-lite-deserializer-xmlschemasoap1_2 + perl-soap-lite-packager + perl-soap-lite-utils + perl-soap-packager=0.712.0 + perl-soap-test + perl-soap-transport-http + perl-soap-transport-io + perl-soap-transport-local + perl-soap-transport-loopback + perl-soap-transport-mailto + perl-soap-transport-pop3=0.712.0 + perl-soap-transport-tcp=0.712.0 + perl-uddi-lite=0.712.0 + perl-xml-parser-lite + perl-xmlrpc-lite + perl-xmlrpc-test + perl-xmlrpc-transport-http + perl-xmlrpc-transport-pop3 + perl-xmlrpc-transport-tcp +) +source=("http://www.cpan.org/authors/id/M/MK/MKUTTER/SOAP-Lite-${pkgver}.tar.gz") +md5sums=('a44c41291ddddaa19c02a72cd554327b') build() { - cd $startdir/src/SOAP-Lite-$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 + cd "${srcdir}/SOAP-Lite-${pkgver}" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}/SOAP-Lite-${pkgver}" + make install DESTDIR="${pkgdir}" } diff --git a/abs/core/perl_modules/perl-socket6/PKGBUILD b/abs/core/perl_modules/perl-socket6/PKGBUILD index be7ac34..88c8acc 100644 --- a/abs/core/perl_modules/perl-socket6/PKGBUILD +++ b/abs/core/perl_modules/perl-socket6/PKGBUILD @@ -3,7 +3,7 @@ pkgname='perl-socket6' pkgver='0.23' -pkgrel='1' +pkgrel='2' pkgdesc="getaddrinfo/getnameinfo support module" arch=('i686' 'x86_64') license=('PerlArtistic' 'GPL') diff --git a/abs/core/perl_modules/perl-sub-exporter/PKGBUILD b/abs/core/perl_modules/perl-sub-exporter/PKGBUILD new file mode 100644 index 0000000..2d2adb3 --- /dev/null +++ b/abs/core/perl_modules/perl-sub-exporter/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Justin Davis +# $Id: PKGBUILD 57551 2011-10-30 17:28:18Z juster $ + +pkgname=perl-sub-exporter +pkgver=0.982 +pkgrel=1 +pkgdesc="a sophisticated exporter for custom-built routines" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.6.0' 'perl-data-optlist>=0.1' 'perl-params-util>=0.14' + 'perl-sub-install>=0.92') +url=https://metacpan.org/release/Sub-Exporter +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-${pkgver}.tar.gz") +md5sums=(db90a0d73a5ca2d185dd6c6d2fc848f0) +sha512sums=(10fc2a27d28f47cc5193c13e598e7c16caac0ede5700b0301ab04db371b9250348aa69e076b259d3f5a1ebbdd8793c3230e5f71a0adb1554b1d2fd04b2969d97) +_distdir="${srcdir}/Sub-Exporter-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-sub-install/PKGBUILD b/abs/core/perl_modules/perl-sub-install/PKGBUILD new file mode 100644 index 0000000..08b4b65 --- /dev/null +++ b/abs/core/perl_modules/perl-sub-install/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Justin Davis (juster) +# $Id: PKGBUILD 71649 2012-05-31 15:44:24Z juster $ + +pkgname=perl-sub-install +pkgver=0.926 +pkgrel=1 +pkgdesc='install subroutines into packages easily' +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=(perl) +url=https://metacpan.org/release/Sub-Install +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Install-$pkgver.tar.gz") +md5sums=(89a7f82dd840bc2401f281b5f24732b9) +sha512sums=(c536e1ace79ce8c6bd4a6e580cc2e181671b54f07cef231a84094c854779aee556de4b2ff0a95f0e6a8aca87f77a6e19d148071a48fe5c6e9c0ca15314f0c9cc) +_dir="$srcdir/Sub-Install-$pkgver" + +build() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() +( + cd "$_dir" + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +) + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD index 4f3d53d..86409ac 100644 --- a/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD +++ b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD @@ -1,8 +1,10 @@ +# $Id: PKGBUILD 65925 2012-02-22 13:43:26Z spupykin $ +# Maintainer: Sergej Pupykin # Contributor: Francois Charette pkgname=perl-sub-uplevel pkgver=0.22 -pkgrel=1 +pkgrel=2 pkgdesc="apparently run a function in a higher stack frame " arch=('any') url="http://search.cpan.org/dist/Sub-Uplevel" @@ -13,10 +15,10 @@ source=(http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-$pkgver.tar.gz) md5sums=('c166738a97c0424a0075ebe205d285db') build() { - cd $startdir/src/Sub-Uplevel-$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 + cd $srcdir/Sub-Uplevel-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-test-fatal/PKGBUILD b/abs/core/perl_modules/perl-test-fatal/PKGBUILD new file mode 100644 index 0000000..dfae079 --- /dev/null +++ b/abs/core/perl_modules/perl-test-fatal/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Justin Davis (juster) +# $Id: PKGBUILD 71635 2012-05-31 15:12:33Z juster $ + +pkgname=perl-test-fatal +pkgver=0.010 +pkgrel=1 +pkgdesc='incredibly simple helpers for testing code with exceptions' +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl-try-tiny>=0.07') +url=https://metacpan.org/release/Test-Fatal +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-$pkgver.tar.gz") +md5sums=(d8052d4160e8d999cbeb574592f26541) +sha512sums=(24ed85a957e316f49673613295978ff4f2485f762427a8e51594221fe7601d6df3ab1d92dd5a9a8943cce42a04a3a712b781a7ae31403995a03bbf177006edf6) +_dir="$srcdir/Test-Fatal-$pkgver" + +build() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() +( + cd "$_dir" + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +) + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-test-pod/PKGBUILD b/abs/core/perl_modules/perl-test-pod/PKGBUILD index a901b02..5adb9d1 100644 --- a/abs/core/perl_modules/perl-test-pod/PKGBUILD +++ b/abs/core/perl_modules/perl-test-pod/PKGBUILD @@ -1,25 +1,30 @@ -# -# Contributor: Oliver Charles -# +# $Id: PKGBUILD 140682 2011-10-18 03:16:34Z eric $ +# Maintainer: Kevin +# Contributor: Firmicus -pkgname="perl-test-pod" -pkgver=1.26 +pkgname=perl-test-pod +_realname=Test-Pod +pkgver=1.45 pkgrel=1 -pkgdesc="Translate Wiki formatted text to other formats" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~petdance/Test-Pod" -license="unknown" -depends=('perl>=5.10.0') +pkgdesc="Check for POD errors in files" +arch=('any') +url="http://search.cpan.org/dist/${_realname}/" +license=('GPL' 'PerlArtistic') +depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-$pkgver.tar.gz) -md5sums=('2f259135656ac4549b65a4f14f07b7c6') +source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/${_realname}-${pkgver}.tar.gz) +md5sums=('089c8f272931df82f6c4d11a74f04628') build() { - cd $startdir/src/Test-Pod-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make DESTDIR="$pkgdir/" install || return 1 + cd "${srcdir}/${_realname}-${pkgver}" + perl Build.PL installdirs=vendor + ./Build +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + ./Build install destdir="${pkgdir}" - find "$pkgdir" -name '.packlist' -delete - find "$pkgdir" -name 'perllocal.pod' -delete + find "${pkgdir}" -name '.packlist' -delete + find "${pkgdir}" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-test-requires/PKGBUILD b/abs/core/perl_modules/perl-test-requires/PKGBUILD new file mode 100644 index 0000000..c7de2ab --- /dev/null +++ b/abs/core/perl_modules/perl-test-requires/PKGBUILD @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Justin Davis + +pkgname='perl-test-requires' +pkgver='0.06' +pkgrel='1' +pkgdesc="Checks to see if the module can be loaded" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +url='http://search.cpan.org/dist/Test-Requires' +source=("http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-$pkgver.tar.gz") +md5sums=('6ce0da3cceadb6420d4c3c5bb69f64db') + +build() { + cd "${srcdir}/Test-Requires-$pkgver" + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + perl Makefile.PL + make + make test + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-test-warn/PKGBUILD b/abs/core/perl_modules/perl-test-warn/PKGBUILD new file mode 100644 index 0000000..1b5626d --- /dev/null +++ b/abs/core/perl_modules/perl-test-warn/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 70452 2012-05-07 13:45:39Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Sergej Pupykin +# Contributor: Firmicus + +pkgname=perl-test-warn +pkgver=0.24 +pkgrel=1 +pkgdesc="Perl extension to test methods for warnings " +arch=(any) +url="http://search.cpan.org/~CHORNY/Test-Warn" +license=('GPL' 'PerlArtistic') +depends=('perl-tree-dag-node' 'perl-sub-uplevel>=0.12' 'perl>=5.10.0') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Test-Warn-$pkgver.tar.gz) +md5sums=('a27990b62f8fd0aa290bb617ae0157a5') + +build() { + cd $srcdir/Test-Warn-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/Test-Warn-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD b/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD new file mode 100644 index 0000000..f5c7216 --- /dev/null +++ b/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 65974 2012-02-22 14:07:15Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Sergej Pupykin + +pkgname=perl-tree-dag-node +pkgver=1.06 +pkgrel=3 +pkgdesc="base class for trees" +arch=('any') +url="http://search.cpan.org/dist/Tree-DAG_Node" +license=('GPL' 'PerlArtistic') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/C/CO/COGENT/Tree-DAG_Node-$pkgver.tar.gz) +md5sums=('3b006f128bd1d8961fc57c466ffa05f2') + +build() { + cd $srcdir/Tree-DAG_Node-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-try-tiny/PKGBUILD b/abs/core/perl_modules/perl-try-tiny/PKGBUILD new file mode 100644 index 0000000..f70a01e --- /dev/null +++ b/abs/core/perl_modules/perl-try-tiny/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Justin Davis +# $Id: PKGBUILD 57540 2011-10-30 17:10:04Z juster $ + +pkgname=perl-try-tiny +pkgver=0.11 +pkgrel=1 +pkgdesc="minimal try/catch with proper localization of \$@" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +makedepends=('perl-extutils-makemaker') +checkdepends=('perl-test-simple') +url=https://metacpan.org/release/Try-Tiny +source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-${pkgver}.tar.gz") +md5sums=(4d2c8ff385ac3513edf4c042dd0eacbe) +sha512sums=(42a98d0996e4195b1618e99080f67791ec9b09c8c4de669aafcbe75c609718d700a6831dd5a68d8f7bda563c29ce3a8495bbf548b8d38a155471875889d8c701) +_distdir="${srcdir}/Try-Tiny-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-uri/PKGBUILD b/abs/core/perl_modules/perl-uri/PKGBUILD index ec8f2c5..7f18b32 100644 --- a/abs/core/perl_modules/perl-uri/PKGBUILD +++ b/abs/core/perl_modules/perl-uri/PKGBUILD @@ -1,31 +1,31 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 140684 2011-10-18 03:20:44Z eric $ # Maintainer: eric # Contributor: Manolis Tzanidakis +# Contributor: Firmicus pkgname=perl-uri _realname=URI -pkgver=1.35 -pkgrel=3 -pkgdesc="Perl Module: form Resource Identifiers (absolute and relative)" -arch=(i686 x86_64) -license=('PerlArtistic') +pkgver=1.59 +pkgrel=1 +pkgdesc="Uniform Resource Identifiers (absolute and relative)" +arch=('any') url="http://search.cpan.org/dist/${_realname}/" +license=('PerlArtistic') depends=('perl>=5.10.0') -options=(!emptydirs) -source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-$pkgver.tar.gz) -replaces=('uri') -provides=('uri') -md5sums=('1a933b1114c41a25587ee59ba8376f7c') +provides=('perl-uri-escape=3.30') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/${_realname}-$pkgver.tar.gz) +md5sums=('fecebf8fa20e2d26ea4a1649c095e96e') build() { - cd $startdir/src/${_realname}-$pkgver + cd "${srcdir}/${_realname}-$pkgver" # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 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 + perl Makefile.PL INSTALLDIRS=vendor + make +} - # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete +package() { + cd "${srcdir}/${_realname}-$pkgver" + make install DESTDIR="${pkgdir}" } # vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-www-mechanize/PKGBUILD b/abs/core/perl_modules/perl-www-mechanize/PKGBUILD index 9bbd409..ea4e61b 100644 --- a/abs/core/perl_modules/perl-www-mechanize/PKGBUILD +++ b/abs/core/perl_modules/perl-www-mechanize/PKGBUILD @@ -1,24 +1,25 @@ -# $Id: PKGBUILD,v 1.11 2008/03/24 16:16:28 sergej Exp $ -# Maintainer: Sergej Pupykin +# $Id: PKGBUILD 66104 2012-02-23 01:05:44Z spupykin $ +# Maintainer: Sergej Pupykin # Contributor: Francois Charette pkgname=perl-www-mechanize -pkgver=1.34 -pkgrel=2 +pkgver=1.72 +pkgrel=1 pkgdesc="Automates web page form & link interaction" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~PETDANCE/WWW-Mechanize" +arch=(any) +url="http://search.cpan.org/dist/WWW-Mechanize" license=('GPL' 'PerlArtistic') -depends=('perl-libwww' 'perl-html-parser' 'perl-uri') +depends=('perl-libwww' 'perl-html-parser' 'perl-uri' 'perl-http-response-encoding' + 'perl-http-server-simple' 'perl-test-warn' 'perl-html-form') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/P/PE/PETDANCE/WWW-Mechanize-$pkgver.tar.gz) -md5sums=('77a5c025b9a722b62884b7740b8133f9') +source=(http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/WWW-Mechanize-$pkgver.tar.gz) +md5sums=('231709669de7d912185b91e454206532') build() { - cd $startdir/src/WWW-Mechanize-$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 + cd $srcdir/WWW-Mechanize-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-www-robotrules/PKGBUILD b/abs/core/perl_modules/perl-www-robotrules/PKGBUILD new file mode 100644 index 0000000..790cf73 --- /dev/null +++ b/abs/core/perl_modules/perl-www-robotrules/PKGBUILD @@ -0,0 +1,49 @@ +# Packager: Justin "juster" Davis +# $Id: PKGBUILD 150764 2012-02-21 20:29:03Z juster $ + +pkgname=perl-www-robotrules +pkgver=6.02 +pkgrel=1 +pkgdesc="database of robots.txt-derived permissions" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.8.1' 'perl-uri>=1.10') +conflicts=('perl-libwww<6') +url=https://metacpan.org/release/WWW-RobotRules +source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-${pkgver}.tar.gz") +md5sums=(b7186e8b8b3701e70c22abf430742403) +sha512sums=(781a2fc90e4efed901a91ecf4f2aaac2684409c6a75a8434ff140654838bb05d11f8fa760642e20eee96450d3ced6815a4dab11a4245bc8120c69ca68ab49e44) +_distdir="${srcdir}/WWW-RobotRules-${pkgver}" + +build() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make +) + +check() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test +) + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-xml-dom/PKGBUILD b/abs/core/perl_modules/perl-xml-dom/PKGBUILD index ab6e8a5..07e39f2 100644 --- a/abs/core/perl_modules/perl-xml-dom/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-dom/PKGBUILD @@ -1,23 +1,27 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Contributor: François Charette +# Maintainer: kfgz +# Contributor: François Charette pkgname=perl-xml-dom pkgver=1.44 -pkgrel=5 +pkgrel=7 pkgdesc="Implements Level 1 of W3's DOM" arch=('i686' 'x86_64') -url="http://search.cpan.org/~TJMATHER/XML-DOM" +url="http://search.cpan.org/dist/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) +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 + cd ${srcdir}/XML-DOM-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd ${srcdir}/XML-DOM-${pkgver} + make install DESTDIR=${pkgdir} + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-xml-namespacesupport/PKGBUILD b/abs/core/perl_modules/perl-xml-namespacesupport/PKGBUILD index a0950d8..a641a81 100644 --- a/abs/core/perl_modules/perl-xml-namespacesupport/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-namespacesupport/PKGBUILD @@ -1,23 +1,31 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id: PKGBUILD 143952 2011-11-30 22:08:16Z giovanni $ +# Maintainer: Giovanni Scafora # Contributor: François Charette pkgname=perl-xml-namespacesupport -pkgver=1.09 -pkgrel=3 +pkgver=1.11 +pkgrel=2 pkgdesc="Generic namespace helpers (ported from SAX2)" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~RBERJON/XML-NamespaceSupport" -license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +arch=('any') +url="http://search.cpan.org/dist/XML-NamespaceSupport" +license=('GPL') +depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/R/RB/RBERJON/XML-NamespaceSupport-$pkgver.tar.gz) -md5sums=('b0867d7b599d8a63ba630fa6227936fe') +source=("http://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-${pkgver}.tar.gz") +md5sums=('222cca76161cd956d724286d36b607da') build() { - cd $startdir/src/XML-NamespaceSupport-$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 + cd "${srcdir}/XML-NamespaceSupport-${pkgver}" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}/XML-NamespaceSupport-${pkgver}" + + make install DESTDIR="${pkgdir}" + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-xml-parser/PKGBUILD b/abs/core/perl_modules/perl-xml-parser/PKGBUILD index 962dc0b..3e2a9db 100644 --- a/abs/core/perl_modules/perl-xml-parser/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-parser/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 99293 2010-11-13 20:13:13Z andrea $ +# $Id: PKGBUILD 160565 2012-06-02 10:28:38Z bluewind $ # Maintainer: # Contributor: firmicus # Contributor: dorphell @@ -6,29 +6,32 @@ pkgname=perl-xml-parser _realname=XML-Parser -pkgver=2.40 +pkgver=2.41 pkgrel=3 pkgdesc="Expat-based XML parser module for perl" arch=('i686' 'x86_64') license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -replaces=('perlxml') depends=('perl' 'expat') +replaces=('perlxml') provides=("perlxml=${pkgver}") options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/${_realname}-${pkgver}.tar.gz") -md5sums=('c66e9adba003d0667cc40115ccd837a5') - - +source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/${_realname}-${pkgver}.tar.gz") +md5sums=('c320d2ffa459e6cdc6f9f59c1185855e') build() { cd "${srcdir}/${_realname}-${pkgver}" - + # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} + package() { cd "${srcdir}/${_realname}-${pkgver}" make install DESTDIR="${pkgdir}" @@ -37,4 +40,3 @@ package() { find "${pkgdir}" -name perllocal.pod -delete find "${pkgdir}" -name .packlist -delete } - diff --git a/abs/core/perl_modules/perl-xml-regexp/PKGBUILD b/abs/core/perl_modules/perl-xml-regexp/PKGBUILD index e785a85..639ee87 100644 --- a/abs/core/perl_modules/perl-xml-regexp/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-regexp/PKGBUILD @@ -3,21 +3,29 @@ pkgname=perl-xml-regexp pkgver=0.03 -pkgrel=3 +pkgrel=7 pkgdesc="Regular expressions for XML tokens" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~TJMATHER/XML-RegExp" +arch=('any') +url="http://search.cpan.org/dist/XML-RegExp" license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-$pkgver.tar.gz) +source=("http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-${pkgver}.tar.gz") md5sums=('5826b24e0d05714e25c2bb04e1f1c09b') build() { - cd $startdir/src/XML-RegExp-$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 + cd XML-RegExp-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd XML-RegExp-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-xml-sax-base/PKGBUILD b/abs/core/perl_modules/perl-xml-sax-base/PKGBUILD new file mode 100644 index 0000000..7e3ae07 --- /dev/null +++ b/abs/core/perl_modules/perl-xml-sax-base/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 143954 2011-11-30 22:11:53Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: James Hunt + +pkgname=perl-xml-sax-base +pkgver=1.08 +pkgrel=2 +pkgdesc="Base class SAX Drivers and Filters" +arch=('any') +url="http://search.cpan.org/dist/XML-SAX-Base" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$pkgver.tar.gz") +md5sums=('38c8c3247dfd080712596118d70dbe32') + +build() { + cd $srcdir/XML-SAX-Base-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd $srcdir/XML-SAX-Base-$pkgver + make test +} + +package() { + cd $srcdir/XML-SAX-Base-$pkgver + make install DESTDIR=$pkgdir + + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-xml-sax/PKGBUILD b/abs/core/perl_modules/perl-xml-sax/PKGBUILD index 2a59677..394b72f 100644 --- a/abs/core/perl_modules/perl-xml-sax/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-sax/PKGBUILD @@ -1,33 +1,37 @@ -# $Id: PKGBUILD 67354 2010-02-06 14:10:53Z giovanni $ +# $Id: PKGBUILD 143956 2011-11-30 22:15:20Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: François Charette pkgname=perl-xml-sax -pkgver=0.96 -pkgrel=2 -pkgdesc="Simple API for XML " -arch=('i686' 'x86_64') +pkgver=0.99 +pkgrel=3 +pkgdesc="Simple API for XML" +arch=('any') url="http://search.cpan.org/dist/XML-SAX" license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0' 'perl-xml-namespacesupport>=0.03') +depends=('perl' 'perl-xml-sax-base' 'perl-xml-namespacesupport') options=('!emptydirs') install=perl-xml-sax.install -source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz" 'perl-xml-sax.patch') -md5sums=('bdcd4119a62505184e211e9dfaef0ab1' - 'b8ad2da4195ac0eede28dfaed4d874c3') +source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz" + 'perl-xml-sax.patch') +md5sums=('290f5375ae87fdebfdb5bc3854019f24' + 'f114c4aad3221d3e7d8314d13b84a869') build() { - cd $srcdir - - patch -p0 < perl-xml-sax.patch || return 1 cd $srcdir/XML-SAX-$pkgver + patch -Np1 -i "${srcdir}/perl-xml-sax.patch" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 +check() { + cd $srcdir/XML-SAX-$pkgver + make test } + package() { cd $srcdir/XML-SAX-$pkgver - make install DESTDIR=$pkgdir || return 1 + make install DESTDIR=$pkgdir find $pkgdir -name '.packlist' -delete find $pkgdir -name '*.pod' -delete diff --git a/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.install b/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.install index 7b1e1f2..464fdfe 100644 --- a/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.install +++ b/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.install @@ -9,7 +9,3 @@ if [ ! -r /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]; then perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" &>/dev/null fi } - -op=$1 -shift -$op $* diff --git a/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch b/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch index b2db7d2..880468b 100644 --- a/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch +++ b/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch @@ -1,9 +1,10 @@ ---- XML-SAX-0.96/Makefile.PL.orig 2008-08-04 23:07:21.000000000 +0200 -+++ XML-SAX-0.96/Makefile.PL 2008-12-09 11:52:24.806540909 +0100 -@@ -12,42 +12,3 @@ +--- a/Makefile.PL 2011-09-04 23:37:48.000000000 +0200 ++++ b/Makefile.PL 2011-10-07 18:12:50.000000000 +0200 +@@ -12,43 +12,3 @@ + 'XML::NamespaceSupport' => 0.03, }, ); - +- -sub MY::install { - package MY; - my $script = shift->SUPER::install(@_); diff --git a/abs/core/perl_modules/perl-xml-twig/PKGBUILD b/abs/core/perl_modules/perl-xml-twig/PKGBUILD index b20735d..b8be295 100644 --- a/abs/core/perl_modules/perl-xml-twig/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-twig/PKGBUILD @@ -1,28 +1,33 @@ -# $Id$ +# $Id: PKGBUILD 162138 2012-06-22 05:50:38Z eric $ # Maintainer: damir # Maintainer/Contributor: Francois Charette pkgname=perl-xml-twig _realname=XML-Twig -pkgver=3.34 -pkgrel=3 +pkgver=3.40 +pkgrel=1 pkgdesc="A module for easy processing of XML" arch=('any') url="http://search.cpan.org/dist/${_realname}/" license=('GPL' 'PerlArtistic') -depends=('perl-xml-parser>=2.23' 'perl-text-iconv' 'perl>=5.12.0') +depends=('perl-xml-parser' 'perl-text-iconv' 'perl') +checkdepends=('perl-libwww' 'perl-test-pod' 'perl-xml-simple' 'perl-html-tree') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/M/MI/MIROD/${_realname}-${pkgver}.tar.gz) -md5sums=('88a24e3e09b2fc1e252f7662d1291f9a') +source=("http://www.cpan.org/authors/id/M/MI/MIROD/${_realname}-${pkgver}.tar.gz") +sha1sums=('37fec67bd2c60d53e861f13a64c1c9e0426858c2') build() { - cd "${srcdir}/${_realname}-${pkgver}" + cd "${srcdir}/${_realname}-${pkgver}" perl Makefile.PL -y INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" make test } package() { - cd "${srcdir}/${_realname}-${pkgver}" + cd "${srcdir}/${_realname}-${pkgver}" make DESTDIR="${pkgdir}" install } diff --git a/abs/core/perl_modules/perl-yaml-syck/PKGBUILD b/abs/core/perl_modules/perl-yaml-syck/PKGBUILD index ab63f2e..1b3f73a 100644 --- a/abs/core/perl_modules/perl-yaml-syck/PKGBUILD +++ b/abs/core/perl_modules/perl-yaml-syck/PKGBUILD @@ -1,38 +1,37 @@ -# $Id$ +# $Id: PKGBUILD 160567 2012-06-02 10:28:42Z bluewind $ # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Maintainer: kevin pkgname=perl-yaml-syck _realname=YAML-Syck -pkgver=1.17 -pkgrel=1 +pkgver=1.20 +pkgrel=2 pkgdesc="Fast, lightweight YAML loader and dumper" arch=('i686' 'x86_64') license=('custom') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') +depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/A/AV/AVAR/${_realname}-$pkgver.tar.gz) -md5sums=('f788529ad4b2c2fd037ccdfd5e7a88ab') +source=(http://www.cpan.org/authors/id/T/TO/TODDR/${_realname}-$pkgver.tar.gz) +md5sums=('8f6d04ee5817b8479e1234264a8d458d') build() { - cd ${srcdir}/${_realname}-$pkgver + cd "${srcdir}/${_realname}-$pkgver" # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_realname}-$pkgver" make test } package() { - cd ${srcdir}/${_realname}-$pkgver - make install DESTDIR=${pkgdir} - - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + cd "${srcdir}/${_realname}-$pkgver" + make install DESTDIR="${pkgdir}" # license. - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } - -- cgit v0.12