diff options
Diffstat (limited to 'abs/core/perl_modules')
211 files changed, 5027 insertions, 2362 deletions
diff --git a/abs/core/perl_modules/libxml-perl/PKGBUILD b/abs/core/perl_modules/libxml-perl/PKGBUILD index 474d3eb..055b08c 100644 --- a/abs/core/perl_modules/libxml-perl/PKGBUILD +++ b/abs/core/perl_modules/libxml-perl/PKGBUILD @@ -1,29 +1,34 @@ -# $Id: PKGBUILD 55561 2011-09-14 10:11:00Z andrea $ -# Maintainer: Chris Brannon <cmbrannon79@gmail.com> -# Contributor: François Charette <firmicus ατ gmx δοτ net> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Limao Luo <luolimao+AUR@gmail.com> +# Contributor: Chris Brannon <cmbrannon79@gmail.com> +# Contributor: François Charette <firmicus@gmx.net> pkgname=libxml-perl pkgver=0.08 -pkgrel=3 +pkgrel=6 pkgdesc="Perl library for working with XML" arch=('any') -url="http://search.cpan.org/~KMACLEOD/libxml-perl" +url="http://search.cpan.org/~KMACLEOD/$pkgname" license=('GPL' 'PerlArtistic') -depends=('perlxml>=2.19') +depends=('perl-xml-parser') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/K/KM/KMACLEOD/libxml-perl-$pkgver.tar.gz) -md5sums=('0ed5fbdda53d1301ddaed88db10503bb') +source=("http://www.cpan.org/authors/id/K/KM/KMACLEOD/$pkgname-$pkgver.tar.gz") +sha512sums=('66c1874a04b746334d4324ab37ee057c6da7fa7191dffae2900e0832dab3b2ededc5cbdc5e838c0d57c22161c9cf196ab40b62f61338d4c994bda9fa7b1a7702') build() { - cd "${srcdir}"/$pkgname-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd $pkgname-$pkgver + perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 make } -package() { - cd "${srcdir}"/$pkgname-$pkgver - make DESTDIR="${pkgdir}" install +check() { + cd $pkgname-$pkgver + make test +} - find "${pkgdir}" -name '.packlist' -delete - find "${pkgdir}" -name '*.pod' -delete +package() { + make -C $pkgname-$pkgver/ DESTDIR="$pkgdir" install + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-algorithm-diff/PKGBUILD b/abs/core/perl_modules/perl-algorithm-diff/PKGBUILD index d185772..864421a 100644 --- a/abs/core/perl_modules/perl-algorithm-diff/PKGBUILD +++ b/abs/core/perl_modules/perl-algorithm-diff/PKGBUILD @@ -1,20 +1,27 @@ -# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Charles Mauch <cmauch@gmail.com> + pkgname=perl-algorithm-diff -pkgver=1.1902 -pkgrel=4 +pkgver=1.1903 +pkgrel=3 pkgdesc="Perl/CPAN Module Algorithm::Diff : Diff also Longest Common Subsequence" -arch=("i686" "x86_64") -url="http://search.cpan.org/TYEMQ/Algorithm-Diff" -license=("GPL" "Artistic") -source=("http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-1.1902.tar.gz") -md5sums=("ff3e17ae485f8adfb8857b183991fbce") -groups=('shepherd-dep') +arch=("any") +url="http://search.cpan.org/dist/Algorithm-Diff" +license=("GPL" "PerlArtistic") +depends=(perl) +source=("http://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/Algorithm-Diff-$pkgver.tar.gz") +md5sums=('0e8add21a641b8d66436df0c2024bf3b') + build() { - cd $startdir/src/Algorithm-Diff-1.1902 - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make pure_install doc_install DESTDIR=$startdir/pkg || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + cd "$srcdir"/Algorithm-Diff-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Algorithm-Diff-$pkgver + make pure_install doc_install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-alien-sdl/PKGBUILD b/abs/core/perl_modules/perl-alien-sdl/PKGBUILD index 4b6bded..9e76ddf 100644 --- a/abs/core/perl_modules/perl-alien-sdl/PKGBUILD +++ b/abs/core/perl_modules/perl-alien-sdl/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 165868 2012-09-01 20:47:49Z heftig $ +# $Id$ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> @@ -8,25 +8,35 @@ pkgname=perl-alien-sdl _realname=Alien-SDL -pkgver=1.438 -pkgrel=1 +pkgver=1.446 +pkgrel=4 pkgdesc="Building, finding and using SDL binaries" -arch=(i686 x86_64) +arch=(x86_64) license=(PerlArtistic GPL) url="http://search.cpan.org/dist/Alien-SDL/" -depends=(sdl=1.2.15 perl-file-sharedir perl-capture-tiny) -makedepends=(perl-file-which perl-text-patch) +depends=('sdl=1.2.15' perl-file-sharedir perl-capture-tiny) +makedepends=(perl-file-which perl-text-patch perl-archive-extract perl-archive-zip perl-module-build) options=(!emptydirs) -_author=JTPALMER +_author=FROGGS source=(http://search.cpan.org/CPAN/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$pkgver.tar.gz) -md5sums=('1936ba9e300677151124b62883cedf20') +sha256sums=('c9aa2c9dc3c63d89773c7d7203f2a46d1b924d0c72d9f801af147a3dc8bc512a') -package() { - cd "$srcdir/$_realname-$pkgver" +prepare() { + cd $_realname-$pkgver - # install module in vendor directories - perl Build.PL installdirs=vendor destdir="$pkgdir" --with-sdl-config + # Workaround bug with --with-sdl-config + sed -i '/^GetOptions/d' Build.PL +} + +build() { + cd $_realname-$pkgver + # install module in vendor directories + perl Build.PL --with-sdl-config perl Build - perl Build install +} + +package() { + cd $_realname-$pkgver + perl Build install installdirs=vendor destdir="$pkgdir" } diff --git a/abs/core/perl_modules/perl-appconfig/PKGBUILD b/abs/core/perl_modules/perl-appconfig/PKGBUILD index 41f9422..7b76e4d 100644 --- a/abs/core/perl_modules/perl-appconfig/PKGBUILD +++ b/abs/core/perl_modules/perl-appconfig/PKGBUILD @@ -6,7 +6,7 @@ pkgname=perl-appconfig _realname=AppConfig pkgver=1.71 -pkgrel=1 +pkgrel=3 pkgdesc="Perl/CPAN AppConfig module - Read configuration files and parse command line arguments" arch=('any') license=('PerlArtistic' 'GPL') diff --git a/abs/core/perl_modules/perl-archive-extract/PKGBUILD b/abs/core/perl_modules/perl-archive-extract/PKGBUILD new file mode 100644 index 0000000..535c767 --- /dev/null +++ b/abs/core/perl_modules/perl-archive-extract/PKGBUILD @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Florian Pritz <bluewind@xinu.at> + +pkgname=perl-archive-extract +pkgver=0.80 +pkgrel=3 +pkgdesc='Generic archive extracting mechanism' +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=(perl) +url=https://metacpan.org/release/Archive-Extract +source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Archive-Extract-$pkgver.tar.gz") +sha512sums=('2f216ea29639c4d8b7b19e4b23542b6f69e970cfb0188dca55ff7ce7d3a3021e43129dbdf81b82f7d97d0080d00f858c6af3595520b6bacac30073a8b25ea4f0') +_ddir="Archive-Extract-$pkgver" + +build() ( + cd "$srcdir/$_ddir" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() ( + cd "$srcdir/$_ddir" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() ( + cd "$srcdir/$_ddir" + 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-archive-zip/PKGBUILD b/abs/core/perl_modules/perl-archive-zip/PKGBUILD index 62ace36..5a82f1a 100644 --- a/abs/core/perl_modules/perl-archive-zip/PKGBUILD +++ b/abs/core/perl_modules/perl-archive-zip/PKGBUILD @@ -1,28 +1,34 @@ -# $Id: PKGBUILD 150362 2012-02-17 07:51:32Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> # Contributor: Andrew Simmons <andrew.simmons@gmail.com> pkgname=perl-archive-zip -_realname=Archive-Zip -pkgver=1.30 -pkgrel=3 +pkgver=1.60 +pkgrel=1 pkgdesc="Provide a perl interface to ZIP archive files" -arch=(any) +arch=('any') license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') +url="http://search.cpan.org/dist/Archive-Zip/" +depends=('perl') +checkdepends=('perl-test-mockmodule') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz) -md5sums=('40153666e7538b410e001aa8a810e702') +source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-${pkgver}.tar.gz) +sha512sums=('5af85e1717e7026b5ebe9533b0dd57290b35099d166ee400ca648cb558a37529a3ec290fb9a44679c16cf955a2de9b75328c2fa88d3e87e51c10cac80247852f') build() { - cd ${srcdir}/${_realname}-${pkgver} - # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd Archive-Zip-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd Archive-Zip-${pkgver} + make test +} + + package() { - cd ${srcdir}/${_realname}-${pkgver} - make install DESTDIR=${pkgdir} + cd Archive-Zip-${pkgver} + make DESTDIR="${pkgdir}" install } diff --git a/abs/core/perl_modules/perl-astro-suntime/PKGBUILD b/abs/core/perl_modules/perl-astro-suntime/PKGBUILD index d615aa3..7fe6143 100644 --- a/abs/core/perl_modules/perl-astro-suntime/PKGBUILD +++ b/abs/core/perl_modules/perl-astro-suntime/PKGBUILD @@ -1,29 +1,49 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Contributor: Ross melin <rdmelin@gmail.com> +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 -# Required by zoneminder - -pkgname=perl-astro-suntime -pkgver=0.01 -pkgrel=2 -pkgdesc="Calculate sun rise/set times" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~ROBF/Astro-SunTime" -license=('GPL' 'PerlArtistic') -depends=('perl-time-modules') +pkgname='perl-astro-suntime' +pkgver='0.06' +pkgrel='1' +pkgdesc="Get Sun Rise and Set Times for any location on the globe" +arch=('any') +license=('PerlArtistic' 'GPL') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/R/RO/ROBF/Astro-SunTime-$pkgver.tar.gz) -md5sums=('4657927a49604494bfaaa153663b90b9') +depends=('perl-time-modules') +makedepends=() +url='https://metacpan.org/release/Astro-SunTime' +source=("http://search.cpan.org/CPAN/authors/id/R/RO/ROBF/Astro-SunTime-$pkgver.tar.gz") +_distdir="Astro-SunTime-$pkgver" build() { - cd $startdir/src/Astro-SunTime-$pkgver - eval `perl -V:archname` - PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \ - INSTALLDIRS=vendor || return 1 - /usr/bin/make || return 1 - /usr/bin/make DESTDIR=$startdir/pkg install || return 1 - /usr/bin/find $startdir/pkg -name '.packlist' -delete - /usr/bin/find $startdir/pkg -name '*.pod' -delete + ( 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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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: +md5sums=('42cb8c94de8a111ed652196925c22a45') diff --git a/abs/core/perl_modules/perl-b-hooks-endofscope/PKGBUILD b/abs/core/perl_modules/perl-b-hooks-endofscope/PKGBUILD new file mode 100644 index 0000000..5a8c040 --- /dev/null +++ b/abs/core/perl_modules/perl-b-hooks-endofscope/PKGBUILD @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com> +# Contributor: aurperl@juster.us + +pkgname="perl-b-hooks-endofscope" +_cpanname="B-Hooks-EndOfScope" +pkgver=0.21 +pkgrel=3 +pkgdesc="Execute code after a scope finished compilation" +arch=("any") +license=("PerlArtistic" "GPL") +options=("!emptydirs") +depends=("perl-module-implementation" + "perl-module-runtime" + "perl-sub-exporter" + "perl-sub-exporter-progressive" + "perl-try-tiny" + "perl-variable-magic>=0.34" + "perl>=5.5.0") +url="http://search.cpan.org/~bobtfish/B-Hooks-EndOfScope-$pkgver/" +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-$pkgver.tar.gz") +sha256sums=('90f3580880f1d68b843c142cc86f58bead1f3e03634c63868ac9eba5eedae02c') + +build() { + cd "$srcdir"/B-Hooks-EndOfScope-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir"/B-Hooks-EndOfScope-$pkgver + make test +} + +package() { + cd "$srcdir"/B-Hooks-EndOfScope-$pkgver + make install DESTDIR="$pkgdir" + # Remove "perllocal.pod" and ".packlist". + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-capture-tiny/PKGBUILD b/abs/core/perl_modules/perl-capture-tiny/PKGBUILD index a0987b3..4b15057 100644 --- a/abs/core/perl_modules/perl-capture-tiny/PKGBUILD +++ b/abs/core/perl_modules/perl-capture-tiny/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 167936 2012-10-03 22:20:09Z heftig $ +# $Id$ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Caleb Cushing <xenoterracide@gmail.com> pkgname=perl-capture-tiny _realname=Capture-Tiny -pkgver=0.20 -pkgrel=1 +pkgver=0.46 +pkgrel=3 pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs" arch=(any) license=(PerlArtistic GPL) @@ -13,7 +13,7 @@ depends=(perl) url="http://search.cpan.org/dist/Capture-Tiny" options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_realname-$pkgver.tar.gz") -md5sums=('cd7aab9f3bccefc76c7d4f0455c55d35') +sha256sums=('5d7a6a830cf7f2b2960bf8b8afaac16a537ede64f3023827acea5bd24ca77015') build() { cd "$srcdir/$_realname-$pkgver" @@ -21,6 +21,13 @@ build() { make } +check() { + cd "$srcdir/$_realname-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + package() { cd "$srcdir/$_realname-$pkgver" make DESTDIR="$pkgdir" install diff --git a/abs/core/perl_modules/perl-cgi/PKGBUILD b/abs/core/perl_modules/perl-cgi/PKGBUILD new file mode 100644 index 0000000..e94e393 --- /dev/null +++ b/abs/core/perl_modules/perl-cgi/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> + +pkgname=perl-cgi +pkgver=4.38 +pkgrel=1 +pkgdesc='Handle Common Gateway Interface requests and responses' +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl>=5.8.1' perl-html-parser) +checkdepends=('perl-test-deep>=0.11' perl-test-nowarnings + 'perl-test-warn>=0.3') +url=https://metacpan.org/release/CGI +source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-$pkgver.tar.gz") +md5sums=(0aeb8563d533e7f83724ed068b5bfc37) +sha512sums=(c035a24b228105786828a4c9ae9c6aab9f22e311dc73871dc25497c5b4b84e77b096e570059a9d7cadc2916bfba582d5c093b6f029ccf0d826870629e36be04e) +_ddir="CGI-$pkgver" + +build() +( + cd "$srcdir/$_ddir" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() +( + cd "$srcdir/$_ddir" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() +( + cd "$srcdir/$_ddir" + 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-class-factory-util/PKGBUILD b/abs/core/perl_modules/perl-class-factory-util/PKGBUILD index c9da049..e5a10b9 100644 --- a/abs/core/perl_modules/perl-class-factory-util/PKGBUILD +++ b/abs/core/perl_modules/perl-class-factory-util/PKGBUILD @@ -1,31 +1,31 @@ -# $Id: PKGBUILD 65743 2012-02-22 12:12:49Z spupykin $ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-class-factory-util -_realname=Class-Factory-Util pkgver=1.7 -pkgrel=4 +pkgrel=8 pkgdesc="Provide utility methods for factory classes" -arch=(i686 x86_64) -license=('GPL' 'Artistic') -url="http://search.cpan.org/~drolsky/Class-Factory-Util" +arch=(any) +license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/dist/Class-Factory-Util/" options=(!emptydirs) depends=('perl') -provides=('class-factory-util=1.7' 'Class::Factory::Util=1.7' 'perl-class-factory-util=1.7') +makedepends=('perl-module-build') source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-1.7.tar.gz) md5sums=('aebd79da361b676a7ecd3245fc3d1b3f') build() { - cd ${srcdir}/${_realname}-${pkgver} + cd "$srcdir"/Class-Factory-Util-${pkgver} # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd ${srcdir}/${_realname}-${pkgver} - make install DESTDIR=${pkgdir} + cd "$srcdir"/Class-Factory-Util-${pkgver} + make install DESTDIR="$pkgdir" # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete } diff --git a/abs/core/perl_modules/perl-class-inspector/PKGBUILD b/abs/core/perl_modules/perl-class-inspector/PKGBUILD new file mode 100644 index 0000000..ca24226 --- /dev/null +++ b/abs/core/perl_modules/perl-class-inspector/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: + +pkgname=perl-class-inspector +pkgver=1.32 +pkgrel=3 +pkgdesc="Get information about a class and its structure" +arch=('any') +url="http://search.cpan.org/dist/Class-Inspector" +license=('PerlArtistic' 'GPL') +depends=('perl') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Class-Inspector-${pkgver}.tar.gz") +sha512sums=('980654614d968e2fb61df864322f5c5248e352f0697a425539600c3549505f47b857d7856bc9d406ebc8757f8fc379a669f1f5085412f6fa48672c9db8a82df4') + +build() { + cd Class-Inspector-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Class-Inspector-${pkgver} + make test +} + +package() { + cd Class-Inspector-${pkgver} + make DESTDIR="$pkgdir" install +} diff --git a/abs/core/perl_modules/perl-class-load/PKGBUILD b/abs/core/perl_modules/perl-class-load/PKGBUILD index 1fc20c4..25ef704 100644 --- a/abs/core/perl_modules/perl-class-load/PKGBUILD +++ b/abs/core/perl_modules/perl-class-load/PKGBUILD @@ -1,25 +1,30 @@ -# $Id: PKGBUILD 73839 2012-07-16 05:39:18Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-class-load -pkgver=0.20 -pkgrel=1 +pkgver=0.24 +pkgrel=2 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') + 'perl-try-tiny' 'perl-test-fatal' 'perl-module-implementation' + 'perl-namespace-clean') +source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-$pkgver.tar.gz) +sha256sums=('0bb983da46c146534fc77a556d6e40d925142f2eb43103534025ee545265ca36') 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 +} + +package() { + cd "${srcdir}/Class-Load-${pkgver}" + make install DESTDIR="$pkgdir" + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete } diff --git a/abs/core/perl_modules/perl-class-methodmaker/PKGBUILD b/abs/core/perl_modules/perl-class-methodmaker/PKGBUILD index 4b5ac7c..8fb04d3 100644 --- a/abs/core/perl_modules/perl-class-methodmaker/PKGBUILD +++ b/abs/core/perl_modules/perl-class-methodmaker/PKGBUILD @@ -3,22 +3,33 @@ # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-class-methodmaker -pkgver=2.18 -pkgrel=4 +pkgver=2.24 +pkgrel=5 pkgdesc="Create generic class methods" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/Class-MethodMaker" license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +depends=('perl') options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/S/SC/SCHWIGON/Class-MethodMaker-${pkgver}.tar.gz") -md5sums=('99435d78e0a1754b102fe39597c6c3df') +source=("http://search.cpan.org/CPAN/authors/id/S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-${pkgver}.tar.gz") +md5sums=('6fac1ed1fea8a4e42d36a4d07c8bfa09') build() { - cd $srcdir/Class-MethodMaker-$pkgver + cd "$srcdir"/Class-MethodMaker-$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 +} + +package() { + cd "$srcdir"/Class-MethodMaker-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-class-singleton/PKGBUILD b/abs/core/perl_modules/perl-class-singleton/PKGBUILD index 1f80ce9..af528dd 100644 --- a/abs/core/perl_modules/perl-class-singleton/PKGBUILD +++ b/abs/core/perl_modules/perl-class-singleton/PKGBUILD @@ -1,25 +1,29 @@ -# $Id: PKGBUILD 65747 2012-02-22 12:14:00Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor: François Charette <firmicus ατ gmx δοτ net> +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman pkgname=perl-class-singleton -pkgver=1.4 -pkgrel=4 -pkgdesc="Implementation of a "Singleton" class" +pkgver=1.5 +pkgrel=2 +pkgdesc="Implementation of a singleton class" arch=('any') url="http://search.cpan.org/dist/Class-Singleton" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/A/AB/ABW/Class-Singleton-$pkgver.tar.gz) -md5sums=('a18b108ab97e2107cbbe816d2b3e2ee3') +source=("http://search.cpan.org/CPAN/authors/id/S/SH/SHAY/Class-Singleton-$pkgver.tar.gz") +md5sums=('6a2524f590eda075f4bc929598119241') build() { - cd $srcdir/Class-Singleton-$pkgver + 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 +} + +package() { + cd "$srcdir"/Class-Singleton-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-class-std-fast/PKGBUILD b/abs/core/perl_modules/perl-class-std-fast/PKGBUILD index 71878e6..3494263 100644 --- a/abs/core/perl_modules/perl-class-std-fast/PKGBUILD +++ b/abs/core/perl_modules/perl-class-std-fast/PKGBUILD @@ -1,6 +1,6 @@ pkgname='perl-class-std-fast' pkgver='0.0.8' -pkgrel='1' +pkgrel='2' pkgdesc="Class::Std::Fast allows you to use the beautiful API of Class::Std in a faster way than Class::Std" arch=('any') license=('PerlArtistic' 'GPL') diff --git a/abs/core/perl_modules/perl-class-std/PKGBUILD b/abs/core/perl_modules/perl-class-std/PKGBUILD index dafacbc..c09e1a3 100644 --- a/abs/core/perl_modules/perl-class-std/PKGBUILD +++ b/abs/core/perl_modules/perl-class-std/PKGBUILD @@ -3,7 +3,7 @@ pkgname='perl-class-std' pkgver='0.013' -pkgrel='1' +pkgrel='2' pkgdesc="Support for creating standard \"inside-out\" classes" arch=('any') license=('PerlArtistic' 'GPL') diff --git a/abs/core/perl_modules/perl-compress-bzip2/PKGBUILD b/abs/core/perl_modules/perl-compress-bzip2/PKGBUILD index 7f5e2bc..8f46324 100644 --- a/abs/core/perl_modules/perl-compress-bzip2/PKGBUILD +++ b/abs/core/perl_modules/perl-compress-bzip2/PKGBUILD @@ -1,26 +1,34 @@ -# $Id: PKGBUILD 160507 2012-06-02 10:27:00Z bluewind $ +# $Id$ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgname=perl-compress-bzip2 _realname=Compress-Bzip2 -pkgver=2.09 -pkgrel=5 +pkgver=2.26 +pkgrel=4 pkgdesc="Interface to Bzip2 compression library" -arch=(i686 x86_64) +arch=(x86_64) license=(GPL2) depends=(perl bzip2) -url="http://search.cpan.org/dist/Compress-Bzip2" +url="https://metacpan.org/release/Compress-Bzip2" options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/A/AR/ARJAY/$_realname-$pkgver.tar.gz") -md5sums=('1699fde3e86f2a036f135ae606d456bf') +source=(https://cpan.metacpan.org/authors/id/R/RU/RURBAN/${_realname}-${pkgver}.tar.gz) +sha256sums=('5132f0c5f377a54d77ee36d332aa0ece585c22a40f2c31f2619e40262f5c4f0c') build() { - cd "$srcdir/$_realname-$pkgver" + cd $_realname-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd "$srcdir/$_realname-$pkgver" + cd $_realname-$pkgver make DESTDIR="$pkgdir" install + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-config-simple/PKGBUILD b/abs/core/perl_modules/perl-config-simple/PKGBUILD index a566dbc..d71a9f6 100644 --- a/abs/core/perl_modules/perl-config-simple/PKGBUILD +++ b/abs/core/perl_modules/perl-config-simple/PKGBUILD @@ -1,25 +1,39 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Cecil H. Watson <knoppmyth@gmail.com +# Maintainer: Florian Pritz <bluewind@xinu.at> pkgname=perl-config-simple -_realname=Config-Simple pkgver=4.59 -pkgrel=1 -pkgdesc="Simple configuration file class for perl" -arch=(i686 x86_64) -license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perlxml' 'perl>=5.10.0') -options=('!emptydirs') -source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/S/SH/SHERZODR/${_realname}-${pkgver}.tar.gz) +pkgrel=8 +pkgdesc="Simple configuration file class to create and read config files" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl') +url="http://search.cpan.org/~sherzodr/Config-Simple" +source=("http://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/Config-Simple-${pkgver}.tar.gz") md5sums=('96513b61c7db591339ce2577878a3b32') build() { - cd ${startdir}/src/${_realname}-${pkgver} - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ + MODULEBUILDRC=/dev/null - find ${startdir}/pkg -name '.packlist' -delete - find ${startdir}/pkg -name 'perllocal.pod' -delete + cd "${srcdir}/Config-Simple-${pkgver}" + /usr/bin/perl Makefile.PL + make } + +check() { + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "${srcdir}/Config-Simple-${pkgver}" + make test +} + +package() { + cd "$_distdir" + cd "${srcdir}/Config-Simple-${pkgver}" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + diff --git a/abs/core/perl_modules/perl-convert-binhex/PKGBUILD b/abs/core/perl_modules/perl-convert-binhex/PKGBUILD index 9b2311b..e073c57 100644 --- a/abs/core/perl_modules/perl-convert-binhex/PKGBUILD +++ b/abs/core/perl_modules/perl-convert-binhex/PKGBUILD @@ -1,21 +1,21 @@ -# $Id: PKGBUILD 143927 2011-11-30 21:19:35Z giovanni $ +# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Techlive Zheng <techlivezheng [at] gmail [dot] com> # Contributor: Jakub Fišer <mr [at] MikyMaus [dot] org> # Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com> pkgname=perl-convert-binhex -pkgver=1.119 -pkgrel=4 +pkgver=1.125 +pkgrel=3 pkgdesc="Perl module to extract data from Macintosh BinHex files" arch=('any') -url="http://search.cpan.org/~eryq/Convert-BinHex-1.119/" +url="http://search.cpan.org/dist/Convert-BinHex/" 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') +source=("http://search.cpan.org/CPAN/authors/id/S/ST/STEPHEN/Convert-BinHex-$pkgver.tar.gz") +md5sums=('2f485e1283387ead5b92243e1aacff9d') build() { cd "${srcdir}/Convert-BinHex-${pkgver}" @@ -29,8 +29,4 @@ 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-cpan-meta/PKGBUILD b/abs/core/perl_modules/perl-cpan-meta/PKGBUILD new file mode 100644 index 0000000..44d6cd4 --- /dev/null +++ b/abs/core/perl_modules/perl-cpan-meta/PKGBUILD @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> + +pkgname=perl-cpan-meta +pkgver=2.150010 +pkgrel=5 +pkgdesc='the distribution metadata for a CPAN dist' +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=5.8' 'perl-cpan-meta-requirements>=2.121' + 'perl-cpan-meta-yaml>=0.008' 'perl-cpan-meta>=2.150008') +url='https://metacpan.org/release/CPAN-Meta' +source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-$pkgver.tar.gz") +sha512sums=('b5513c411de33e10da6751460e373a67c6c0245a98409fc525383feb1f9b913e9fcd23e6cc2e0faa93eab3ecb932e3ea31788d46e490ef67151c8842a096d700') + +_ddir="CPAN-Meta-$pkgver" + +build() ( + cd "$srcdir/$_ddir" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() ( + cd "$srcdir/$_ddir" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() ( + cd "$srcdir/$_ddir" + 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-crypt-ssleay/PKGBUILD b/abs/core/perl_modules/perl-crypt-ssleay/PKGBUILD index ccaab5e..8dd1a04 100644 --- a/abs/core/perl_modules/perl-crypt-ssleay/PKGBUILD +++ b/abs/core/perl_modules/perl-crypt-ssleay/PKGBUILD @@ -1,31 +1,46 @@ -# $Id: PKGBUILD 160515 2012-06-02 10:27:13Z bluewind $ +# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-crypt-ssleay -pkgver=0.58 -pkgrel=4 +pkgver=0.73_04 +pkgrel=9 pkgdesc="OpenSSL glue that provides LWP https support" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/Crypt-SSLeay" license=('GPL' 'PerlArtistic') -depends=('openssl') +depends=('perl-lwp-protocol-https' 'perl-try-tiny' 'perl-path-class') options=('!emptydirs') -source=(http://www.cpan.org/CPAN/authors/id/N/NA/NANIS/Crypt-SSLeay-$pkgver.tar.gz) -md5sums=('fbf3d12e58462cee00ea63239c0b13c7') +source=(http://www.cpan.org/CPAN/authors/id/N/NA/NANIS/Crypt-SSLeay-$pkgver.tar.gz) +md5sums=('7508b2a34da2202cc0c78deb59e36526') build() { cd "${srcdir}/Crypt-SSLeay-${pkgver}" + PERL_USE_UNSAFE_INC=1 \ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make - make test +} + +check() { + cd "${srcdir}/Crypt-SSLeay-${pkgver}" + +# make test } package() { cd "${srcdir}/Crypt-SSLeay-${pkgver}" + make install DESTDIR="${pkgdir}" find ${pkgdir} -name '.packlist' -delete find ${pkgdir} -name '*.pod' -delete + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-data-dump/PKGBUILD b/abs/core/perl_modules/perl-data-dump/PKGBUILD index a40b423..56d1bea 100644 --- a/abs/core/perl_modules/perl-data-dump/PKGBUILD +++ b/abs/core/perl_modules/perl-data-dump/PKGBUILD @@ -3,7 +3,7 @@ pkgname=perl-data-dump pkgver=1.23 -pkgrel=1 +pkgrel=3 pkgdesc="Pretty printing of data structures" arch=(any) url="https://metacpan.org/release/Data-Dump" diff --git a/abs/core/perl_modules/perl-data-optlist/PKGBUILD b/abs/core/perl_modules/perl-data-optlist/PKGBUILD index 162c662..84d62ee 100644 --- a/abs/core/perl_modules/perl-data-optlist/PKGBUILD +++ b/abs/core/perl_modules/perl-data-optlist/PKGBUILD @@ -1,30 +1,28 @@ -# Maintainer: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 57546 2011-10-30 17:27:04Z juster $ +# $Id$ +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis <jrcd83@gmail.com> 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}" +pkgver=0.110 +pkgrel=3 +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') +makedepends=('perl-extutils-makemaker') +url="https://metacpan.org/release/Data-OptList" +source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-$pkgver.tar.gz) +md5sums=('f9236c9ea5607134ad8a2b3dc901c4c5') 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'" \ + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null + cd "$srcdir"/Data-OptList-$pkgver - cd "$_distdir" /usr/bin/perl Makefile.PL make ) @@ -32,19 +30,14 @@ build() { check() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" + cd "$srcdir"/Data-OptList-$pkgver + make test ) } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -} + cd "$srcdir"/Data-OptList-$pkgver -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: + make DESTDIR="$pkgdir"/ install +} diff --git a/abs/core/perl_modules/perl-data-uuid/PKGBUILD b/abs/core/perl_modules/perl-data-uuid/PKGBUILD index a20fbe4..69eda71 100644 --- a/abs/core/perl_modules/perl-data-uuid/PKGBUILD +++ b/abs/core/perl_modules/perl-data-uuid/PKGBUILD @@ -1,51 +1,40 @@ -# CPAN Name : Data-UUID -# Contributor: Anonymous -# Generator : CPANPLUS::Dist::Arch 1.30 +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ -pkgname='perl-data-uuid' -pkgver='1.221' -pkgrel='1' +pkgname=perl-data-uuid +_perl_namespace=Data +_perl_module=UUID +pkgver=1.221 +pkgrel=4 pkgdesc="Globally/Universally Unique Identifiers (GUIDs/UUIDs)" -arch=('i686' 'x86_64') -license=('PerlArtistic' 'GPL') +arch=('x86_64') +url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}" +license=('BSD') +depends=('perl') +source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz") +sha256sums=('3cc7b2a3a7b74b45a059e013f7fd878078500ea4b7269036f84556b022078667') options=('!emptydirs') -depends=('perl>=0') -makedepends=() -url='https://metacpan.org/release/Data-UUID' -source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-UUID-1.221.tar.gz') -md5sums=('7619929e8fe205a7fb83bc1c29ecbf99') -sha512sums=('fa40219890f9adeb486a7ff636603d8695d81765ee858e396130100aaba96b524d80eef76e0c06eac2086fe3bb2d26114d94459466d29ddc82a7a7fcb2f5adac') -_distdir="Data-UUID-1.221" 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 "$srcdir/$_distdir" - /usr/bin/perl Makefile.PL - make - ) + cd "${_perl_namespace}-${_perl_module}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + perl Makefile.PL + make } check() { - cd "$srcdir/$_distdir" - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - make test - ) + cd "${_perl_namespace}-${_perl_module}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test } package() { - cd "$srcdir/$_distdir" - make install - - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd "${_perl_namespace}-${_perl_module}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}" + # Install license file + install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE" } - -# 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 0ef2f9c..8688fd1 100644 --- a/abs/core/perl_modules/perl-date-manip/PKGBUILD +++ b/abs/core/perl_modules/perl-date-manip/PKGBUILD @@ -1,29 +1,31 @@ -# $Id: PKGBUILD 161416 2012-06-11 02:54:05Z eric $ -# Maintainer: Kevin Piche <kevin@archlinux.org> -# Contributor: Andrew Simmons <andrew.simmons@gmail.com> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-date-manip -_realname=Date-Manip -pkgver=6.32 +pkgver=6.70 pkgrel=1 pkgdesc="Date::Manip - date manipulation routines" arch=('any') license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perl-yaml-syck') +url="http://search.cpan.org/dist/Date-Manip/" +depends=('perl') +checkdepends=('perl-test-inter') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/${_realname}-${pkgver}.tar.gz) -md5sums=('0d5c1ee2f75f6407fb1035e3535f650b') +source=("http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-${pkgver}.tar.gz") +sha512sums=('67550a3f558fa0c075a9fb43bd59b23328d5d55d053c207a92db6a6e18cba6d2f53ca190110d2f1b00338b1e249d7021b3184f3d9f3965cba0160211a64beb26') build() { - cd "${srcdir}/${_realname}-${pkgver}" + cd Date-Manip-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make +} - # install module in vendor directories. - perl Build.PL installdirs=vendor destdir="${pkgdir}" - perl Build +check() { + cd Date-Manip-${pkgver} + make test } package() { - cd "${srcdir}/${_realname}-${pkgver}" - perl Build install + cd Date-Manip-${pkgver} + make DESTDIR="${pkgdir}" install } diff --git a/abs/core/perl_modules/perl-datetime-format-builder/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-builder/PKGBUILD index 71c3ed6..151e620 100644 --- a/abs/core/perl_modules/perl-datetime-format-builder/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-format-builder/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 65778 2012-02-22 12:27:49Z spupykin $ +# $Id$ # Contributor: Caleb Cushing <xenoterracide@gmail.com> pkgname=perl-datetime-format-builder -pkgver=0.8000 -pkgrel=6 +pkgver=0.8100 +pkgrel=3 pkgdesc="Create DateTime parser classes and objects" -arch=('i686' 'x86_64') +arch=('x86_64') license=('PerlArtistic' 'GPL') options=('!emptydirs') provides=('perl-datetime-format-builder=0.80') diff --git a/abs/core/perl_modules/perl-datetime-format-iso8601/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-iso8601/PKGBUILD index c8e07df..6e2b05d 100644 --- a/abs/core/perl_modules/perl-datetime-format-iso8601/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-format-iso8601/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 66111 2012-02-23 01:12:06Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Lukas Fleischer <lfleischer@archlinux.org> pkgname=perl-datetime-format-iso8601 pkgver=0.08 -pkgrel=1 +pkgrel=3 pkgdesc="Parses ISO8601 formats" arch=('any') url="http://search.cpan.org/dist/DateTime-Format-ISO8601/" @@ -12,21 +12,20 @@ license=('PerlArtistic') 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=('b7c0a4b5e767a8d3b87f3dc678d8c30c') build() { - cd $srcdir/DateTime-Format-ISO8601-$pkgver + cd "$srcdir"/DateTime-Format-ISO8601-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd $srcdir/DateTime-Format-ISO8601-$pkgver + cd "$srcdir"/DateTime-Format-ISO8601-$pkgver make install DESTDIR="${pkgdir}" - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete } diff --git a/abs/core/perl_modules/perl-datetime-format-mail/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-mail/PKGBUILD index b4b6c6f..8c38e26 100644 --- a/abs/core/perl_modules/perl-datetime-format-mail/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-format-mail/PKGBUILD @@ -2,22 +2,25 @@ # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-datetime-format-mail -pkgver=0.3001 -pkgrel=3 +pkgver=0.403 +pkgrel=2 pkgdesc="Convert between DateTime and RFC2822/822 formats " -arch=('i686' 'x86_64') -url="http://search.cpan.org/~DROLSKY/DateTime-Format-Mail" +arch=('x86_64') +url="http://search.cpan.org/dist/DateTime-Format-Mail" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0' 'perl-datetime' 'perl-params-validate>=0.67') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-$pkgver.tar.gz) -md5sums=('15e36249e866463bd0237262a8e43b16') +source=("http://search.cpan.org/CPAN/authors/id/B/BO/BOOK/DateTime-Format-Mail-$pkgver.tar.gz") +md5sums=('b34a52d96290c42cf53e8db0a8f16ecd') build() { - cd $startdir/src/DateTime-Format-Mail-$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-Format-Mail-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package() { + cd "$srcdir"/DateTime-Format-Mail-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-datetime-format-sqlite/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-sqlite/PKGBUILD new file mode 100644 index 0000000..2fb7c83 --- /dev/null +++ b/abs/core/perl_modules/perl-datetime-format-sqlite/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname='perl-datetime-format-sqlite' +pkgver='0.11' +pkgrel='1' +pkgdesc="Parse and format SQLite dates and times" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-datetime>=0.1' 'perl-datetime-format-builder>=0.6') +makedepends=() +url='http://search.cpan.org/dist/DateTime-Format-SQLite' +source=('http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/DateTime-Format-SQLite-0.11.tar.gz') +md5sums=('9cc9cc861407a1bbc696226605279842') +sha512sums=('061f831c2a8d653706d315c1cff24ad887e3f8c65afdbd2140066735649c097be921f217e6e2761f8f34604066c618f296d40e9c650c3a1bb085cadbdfa7b7b9') +_distdir="DateTime-Format-SQLite-0.11" + +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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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-datetime-format-strptime/ChangeLog b/abs/core/perl_modules/perl-datetime-format-strptime/ChangeLog deleted file mode 100644 index 46b7684..0000000 --- a/abs/core/perl_modules/perl-datetime-format-strptime/ChangeLog +++ /dev/null @@ -1,7 +0,0 @@ -2009-02-27 Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> - - * 1.0900-1 : - Adopted the PKGBUILD - Modified the PKGBUILD to match new PKGBUILD-perl.proto - Added missing dep perl-datetime - Added a ChangeLog diff --git a/abs/core/perl_modules/perl-datetime-format-strptime/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-strptime/PKGBUILD index 5f2d8de..9d83790 100644 --- a/abs/core/perl_modules/perl-datetime-format-strptime/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-format-strptime/PKGBUILD @@ -1,28 +1,31 @@ -# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> -# Contributor: Francois Charette <firmicus@gmx.net> +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Caleb Cushing <xenoterracide@gmail.com> pkgname=perl-datetime-format-strptime -_pkgname=DateTime-Format-Strptime -pkgver=1.0900 +pkgver=1.75 pkgrel=1 -pkgdesc="DateTime::Format::Strptime - Parse and format strp and strf time patterns" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~RICKM/${_pkgname}" -license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0' 'perl-datetime') -options=(!emptydirs) - -source=(http://www.cpan.org/authors/id/R/RI/RICKM/${_pkgname}-$pkgver.tgz) -md5sums=('f84e3e11b2948ca0fc2848b9c123e473') +epoch=1 +pkgdesc="Parse and Format DateTimes using Strptime" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-datetime>=0.72' 'perl-datetime-locale>=0.45' + 'perl-datetime-timezone>=0.79' 'perl-params-validate>=0.64' + 'perl-package-deprecationmanager') +url="http://search.cpan.org/dist/DateTime-Format-Strptime" +source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-${pkgver}.tar.gz") +sha256sums=('4fcfb2ac4f79d7ff2855a405f39050d2ea691ee098ce54ede8af79c8d6ab3c19') build() { - cd $srcdir/${_pkgname}-$pkgver - - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - - make || return 1 - make install DESTDIR=$pkgdir || return 1 + export PERL_MM_USE_DEFAULT=1 + cd "${srcdir}/DateTime-Format-Strptime-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} - find $pkgdir -name perllocal.pod -delete - find $pkgdir -name .packlist -delete +package() { + cd "${srcdir}/DateTime-Format-Strptime-${pkgver}" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } diff --git a/abs/core/perl_modules/perl-datetime-format-strptime/__changelog b/abs/core/perl_modules/perl-datetime-format-strptime/__changelog new file mode 100644 index 0000000..fb5e7bb --- /dev/null +++ b/abs/core/perl_modules/perl-datetime-format-strptime/__changelog @@ -0,0 +1 @@ +PKGBUILD: add epoch to ensure it is updated diff --git a/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD index 80a5f9b..105312c 100644 --- a/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD @@ -1,23 +1,28 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-datetime-format-w3cdtf -pkgver=0.04 -pkgrel=3 +pkgver=0.07 +pkgrel=2 pkgdesc="Parse and format W3CDTF datetime strings" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~KELLAN/DateTime-Format-W3CDTF" +arch=('any') +url="http://search.cpan.org/dist/DateTime-Format-W3CDTF" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0' 'perl-datetime') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/K/KE/KELLAN/DateTime-Format-W3CDTF-$pkgver.tar.gz) -md5sums=('5ad0a41bb5de08f9c16395ea311bb491') +source=(http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-$pkgver.tar.gz) +sha256sums=('69a02b661bbf1daa14a4813cb6786eaa66dbdf2743f0b3f458e30234c3a26268') build() { - cd $startdir/src/DateTime-Format-W3CDTF-$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-Format-W3CDTF-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/DateTime-Format-W3CDTF-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-datetime-locale/PKGBUILD b/abs/core/perl_modules/perl-datetime-locale/PKGBUILD index 219e9c2..8d9d966 100644 --- a/abs/core/perl_modules/perl-datetime-locale/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-locale/PKGBUILD @@ -1,24 +1,29 @@ -# $Id: PKGBUILD 65785 2012-02-22 12:32:13Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-datetime-locale -pkgver=0.45 -pkgrel=2 +pkgver=1.20 +pkgrel=1 pkgdesc="Localization support for DateTime.pm " arch=(any) url="http://search.cpan.org/dist/DateTime-Locale" license=('GPL' 'PerlArtistic') -depends=('perl-params-validate' 'perl-list-moreutils') +depends=('perl-params-validate' 'perl-list-moreutils' + 'perl-file-sharedir' 'perl-file-sharedir-install') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz) -md5sums=('8ba6a4b70f8fa7d987529c2e2c708862') +source=(https://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz) +sha256sums=('998f034234441932c82a4598fa49a14f346d6e981d1d2d91a179913a9f81b898') build() { - cd $srcdir/DateTime-Locale-$pkgver + 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 +} + +package() { + cd "$srcdir"/DateTime-Locale-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD b/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD index 7fe325f..e9fd111 100644 --- a/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime-timezone/PKGBUILD @@ -1,28 +1,29 @@ -# $Id: PKGBUILD 73843 2012-07-16 05:40:15Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-datetime-timezone -pkgver=1.46 +pkgver=2.19 pkgrel=1 pkgdesc="Time zone object base class and factory " arch=(any) url="http://search.cpan.org/dist/DateTime-TimeZone" license=('GPL' 'PerlArtistic') -depends=('perl-class-singleton>=1.03' 'perl-params-validate>=0.72' 'perl-class-load') +depends=('perl-class-singleton>=1.03' 'perl-params-validate>=0.72' 'perl-class-load' + 'perl-list-allutils') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz) -md5sums=('e83f412286d7787e3dfd5427a1943569') +source=(https://www.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz) +sha256sums=('b9192efe202d71b4ff7840718807a244bfca3992afd7e7ca78da20849f5ea4f8') build() { - cd $srcdir/DateTime-TimeZone-$pkgver + 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 + cd "$srcdir"/DateTime-TimeZone-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-datetime/PKGBUILD b/abs/core/perl_modules/perl-datetime/PKGBUILD index 839ff1c..e8d4895 100644 --- a/abs/core/perl_modules/perl-datetime/PKGBUILD +++ b/abs/core/perl_modules/perl-datetime/PKGBUILD @@ -1,37 +1,40 @@ -# $Id: PKGBUILD 71765 2012-06-02 10:29:58Z bluewind $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-datetime -pkgver=0.72 -pkgrel=2 +pkgver=1.48 +pkgrel=1 pkgdesc="A complete, easy to use date and time object" -arch=('i686' 'x86_64') +arch=('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' 'perl-math-round') + 'perl-params-validate>=0.76' 'perl-math-round' + 'perl-namespace-autoclean' 'perl-specio' 'perl-eval-closure' + 'perl-params-validationcompiler') +makedepends=('perl-module-build') LC_NUMERIC=C provides=("perl-datetime=`printf %.4f $pkgver`") options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz) -md5sums=('f50b328919fe8bf2d2b16ca0df35c3f3') +source=(https://www.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz) +sha256sums=('5005446eabed6ac96c93e40d284987f0fd1bbfd41a1a7dd5e2abe646dfd68c3e') build() { - cd $srcdir/DateTime-$pkgver - perl Build.PL installdirs=vendor destdir="$pkgdir/" - ./Build + cd "$srcdir"/DateTime-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make } - -check() { - cd $srcdir/DateTime-$pkgver -# ./Build test - true -} - package() { - cd $srcdir/DateTime-$pkgver - ./Build install - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + cd "$srcdir"/DateTime-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-dbd-mysql/PKGBUILD b/abs/core/perl_modules/perl-dbd-mysql/PKGBUILD index 5794b3e..e0f591a 100644 --- a/abs/core/perl_modules/perl-dbd-mysql/PKGBUILD +++ b/abs/core/perl_modules/perl-dbd-mysql/PKGBUILD @@ -1,30 +1,31 @@ -# $Id: PKGBUILD 161944 2012-06-16 19:18:00Z eric $ -# Maintainer: kevin <kevin@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor: kevin <kevin@archlinux.org> # Contributor: Eric Johnson <eric@coding-zone.com> pkgname=perl-dbd-mysql -_realname=DBD-mysql -pkgver=4.022 +pkgver=4.046 pkgrel=1 -pkgdesc="Perl/CPAN DBD::mysql module for interacting with MySQL via DBD" -arch=('i686' 'x86_64') +pkgdesc='Perl/CPAN DBD::mysql module for interacting with MySQL via DBD' +arch=('x86_64') license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('libmysqlclient' 'perl-dbi') -makedepends=('mysql') +url="http://search.cpan.org/dist/DBD-mysql/" +depends=('libmariadbclient' 'perl-dbi') +makedepends=('perl-devel-checklib') +checkdepends=('mariadb' 'perl-test-deep') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/${_realname}-${pkgver}.tar.gz) +source=(http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-${pkgver}.tar.gz) +sha512sums=('57b3243a724ac21a11b6eea10aa1cfc821f295cb5bf44f9eaabeb979d3f8e1f7f5e00d40b144a16688d0a358c82c2bb00f630e925e176f29a9ca84b8ee7fb9cc') build() { - cd "${srcdir}/${_realname}-${pkgver}" - - # install module in vendor directories. + cd DBD-mysql-$pkgver perl Makefile.PL INSTALLDIRS=vendor --testsocket=/tmp/socket.mysql make } -_check() { - cd "${srcdir}/${_realname}-${pkgver}" +check() { + cd DBD-mysql-$pkgver mkdir -p /tmp/mysql_test mysql_install_db \ --basedir=/usr \ @@ -34,12 +35,18 @@ _check() { --datadir=/tmp/mysql_test & sleep 10 DAEMON_PORT=$! - make test || true + make test kill -9 $DAEMON_PORT } package() { - cd "${srcdir}/${_realname}-${pkgver}" - make install DESTDIR="${pkgdir}" + cd DBD-mysql-$pkgver + make install DESTDIR="$pkgdir" +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } -md5sums=('20fb571245e3b9ac275b8329025c4bf6') diff --git a/abs/core/perl_modules/perl-dbd-sqlite/PKGBUILD b/abs/core/perl_modules/perl-dbd-sqlite/PKGBUILD new file mode 100644 index 0000000..b8137e2 --- /dev/null +++ b/abs/core/perl_modules/perl-dbd-sqlite/PKGBUILD @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> + +pkgname=perl-dbd-sqlite +pkgver=1.58 +pkgrel=1 +pkgdesc="Self-contained RDBMS in a DBI driver" +arch=('x86_64') +url="http://search.cpan.org/dist/DBD-SQLite" +license=('GPL' 'PerlArtistic') +depends=('perl-dbi' 'sqlite') +source=(http://www.cpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${pkgver}.tar.gz) +sha512sums=('080d1e304fb0d43926ce0345df3367132c317ba113bdc11952c0a159bc68d988a024828a28e66be267f82e07731dee225723854fb80914ba7c476b27dbdeb212') + +build() { + cd DBD-SQLite-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd DBD-SQLite-${pkgver} + make test +} + +package() { + cd DBD-SQLite-${pkgver} + make install DESTDIR="${pkgdir}" + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} diff --git a/abs/core/perl_modules/perl-dbi-shell/PKGBUILD b/abs/core/perl_modules/perl-dbi-shell/PKGBUILD new file mode 100644 index 0000000..c14695a --- /dev/null +++ b/abs/core/perl_modules/perl-dbi-shell/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-dbi-shell +pkgver=11.95 +pkgrel=6 +pkgdesc="Perl/CPAN Module DBI::Shell" +arch=("any") +url="http://search.cpan.org/dist/DBI-Shell" +license=("GPL" "PerlArtistic") +makedepends=("perl-text-reform" "perl-io-tee") +depends=("perl-text-reform" "perl-io-tee") +source=("https://www.cpan.org/authors/id/T/TL/TLOWERY/DBI-Shell-$pkgver.tar.gz") +sha256sums=('44aa76c90a425d4aff9e2580a6baf334a5102fb794fbdb26e301294c190cbed9') + +build() { + cd "$srcdir"/DBI-Shell-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/DBI-Shell-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-dbi/PKGBUILD b/abs/core/perl_modules/perl-dbi/PKGBUILD index 602acd0..ef4b9d0 100644 --- a/abs/core/perl_modules/perl-dbi/PKGBUILD +++ b/abs/core/perl_modules/perl-dbi/PKGBUILD @@ -1,36 +1,38 @@ -# $Id: PKGBUILD 163571 2012-07-16 03:09:15Z eric $ -# Maintainer: kevin <kevin@archlinux.org> -# Contributor: Matt Thompson <mattt@defunct.ca> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-dbi -_realname=DBI -pkgver=1.622 +pkgver=1.641 pkgrel=1 pkgdesc="Database independent interface for Perl" -arch=('i686' 'x86_64') +arch=('x86_64') +url="http://search.cpan.org/dist/DBI/" license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" depends=('perl') +checkdepends=('perl-test-pod' 'perl-test-pod-coverage') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/T/TI/TIMB/${_realname}-${pkgver}.tar.gz) -md5sums=('9836bcf1b9acc842089aa10b16736909') +source=(http://www.cpan.org/authors/id/T/TI/TIMB/DBI-$pkgver.tar.gz) +sha512sums=('093eb28526e8290c0599437cd624b3e670cfff0ec149c1e8ad942f9f7facdafd2a8225bbf4efdb0d40ecf5a6088093ff9faec826cd4ec88bd0abd6125812137a') build() { - cd "${srcdir}/${_realname}-${pkgver}" - - # install module in vendor directories. + cd DBI-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_realname}-${pkgver}" + cd DBI-$pkgver make test } package() { - cd "${srcdir}/${_realname}-${pkgver}" - make install DESTDIR="${pkgdir}" + cd DBI-$pkgver + make DESTDIR="$pkgdir" install +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } - -# vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-devel-checklib/PKGBUILD b/abs/core/perl_modules/perl-devel-checklib/PKGBUILD new file mode 100644 index 0000000..cfd2a70 --- /dev/null +++ b/abs/core/perl_modules/perl-devel-checklib/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: pzl <alsoelp _at_ gmail> + +pkgname=perl-devel-checklib +pkgver=1.11 +pkgrel=3 +pkgdesc="Module to check if other perl modules are installed" +arch=('any') +url='http://search.cpan.org/dist/Devel-CheckLib/' +license=('PerlArtistic' 'GPL') +depends=('perl') +checkdepends=('perl-io-captureoutput') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/M/MA/MATTN/Devel-CheckLib-${pkgver}.tar.gz") +sha512sums=('21a64cb2ec4f3769d604eba151074daa841d40d2073a93ec186e82d8496f5ca05728c5352a31c4f07765956b85cb3144225edb51b84245b0582267af55ef2e2f') + +build() { + cd Devel-CheckLib-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Devel-CheckLib-$pkgver + make test +} + +package() { + cd Devel-CheckLib-$pkgver + make install DESTDIR="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-devel-globaldestruction/PKGBUILD b/abs/core/perl_modules/perl-devel-globaldestruction/PKGBUILD new file mode 100644 index 0000000..17f43b5 --- /dev/null +++ b/abs/core/perl_modules/perl-devel-globaldestruction/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: + +pkgname=perl-devel-globaldestruction +pkgver=0.14 +pkgrel=3 +pkgdesc="Expose the flag which marks global" +arch=('any') +url="http://search.cpan.org/dist/Devel-GlobalDestruction" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-sub-exporter' 'perl-sub-exporter-progressive') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Devel-GlobalDestruction-$pkgver.tar.gz) +md5sums=('24221ba322cf2dc46a1fc99b53e2380b') + +build() { + cd Devel-GlobalDestruction-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Devel-GlobalDestruction-$pkgver + make test +} + +package() { + cd Devel-GlobalDestruction-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/abs/core/perl_modules/perl-devel-stacktrace/PKGBUILD b/abs/core/perl_modules/perl-devel-stacktrace/PKGBUILD new file mode 100644 index 0000000..01991ed --- /dev/null +++ b/abs/core/perl_modules/perl-devel-stacktrace/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org> +# Contributor: Moritz Bunkus <moritz@bunkus.org> + +pkgname=perl-devel-stacktrace +pkgver=2.03 +pkgrel=1 +pkgdesc='An object representing a stack trace' +arch=('any') +url="https://metacpan.org/release/Devel-StackTrace" +license=('PerlArtistic' 'GPL') +depends=('perl>=5.6') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-$pkgver.tar.gz) +sha256sums=('7618cd4ebe24e254c17085f4b418784ab503cb4cb3baf8f48a7be894e59ba848') + +build() { + cd "${srcdir}"/Devel-StackTrace-$pkgver + + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + perl Makefile.PL + make +} + +check() { + cd "${srcdir}"/Devel-StackTrace-$pkgver + + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +} + +package() { + cd "${srcdir}"/Devel-StackTrace-$pkgver + + make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" + + find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-device-serialport/PKGBUILD b/abs/core/perl_modules/perl-device-serialport/PKGBUILD index 7f0ba54..c714f61 100644 --- a/abs/core/perl_modules/perl-device-serialport/PKGBUILD +++ b/abs/core/perl_modules/perl-device-serialport/PKGBUILD @@ -1,25 +1,36 @@ -# $Id: PKGBUILD 71775 2012-06-02 10:30:18Z bluewind $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Ross melin <rdmelin@gmail.com> pkgname=perl-device-serialport pkgver=1.04 -pkgrel=4 +pkgrel=11 pkgdesc="POSIX clone of Win32::SerialPort" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/Device-SerialPort" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/C/CO/COOK/Device-SerialPort-$pkgver.tar.gz) -md5sums=('82c698151f934eb28c65d1838cee7d9e') +source=(https://www.cpan.org/authors/id/C/CO/COOK/Device-SerialPort-$pkgver.tar.gz) +sha256sums=('d392567cb39b4ea606c0e0acafd8ed72320311b995336ece5fcefcf9b150e9d7') build() { - cd $srcdir/Device-SerialPort-$pkgver + cd "$srcdir"/Device-SerialPort-$pkgver eval `perl -V:archname` PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL INSTALLDIRS=vendor make - make DESTDIR=$pkgdir install - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +} + +package() { + cd "$srcdir"/Device-SerialPort-$pkgver + make DESTDIR="$pkgdir" install + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-digest-sha1/PKGBUILD b/abs/core/perl_modules/perl-digest-sha1/PKGBUILD index d65b0d1..9bab443 100644 --- a/abs/core/perl_modules/perl-digest-sha1/PKGBUILD +++ b/abs/core/perl_modules/perl-digest-sha1/PKGBUILD @@ -1,38 +1,45 @@ # $Id$ -# Maintainer: kevin <kevin@archlinux.org> +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: kevin <kevin@archlinux.org> # Contributor: Manolis Tzanidakis pkgname=perl-digest-sha1 _realname=Digest-SHA1 pkgver=2.13 -pkgrel=2 +pkgrel=10 pkgdesc="Perl interface to the SHA-1 Algorithm" -arch=(i686 x86_64) +arch=(x86_64) license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') -options=(!emptydirs) +depends=('perl') +options=('!emptydirs') source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz) replaces=('digest-sha1') provides=('digest-sha1') md5sums=('bd22388f268434f2b24f64e28bf1aa35') 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}" +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } # vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD b/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD index fc8bd28..d5207cf 100644 --- a/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD +++ b/abs/core/perl_modules/perl-dist-checkconflicts/PKGBUILD @@ -1,30 +1,29 @@ -# Maintainer: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 57550 2011-10-30 17:28:15Z juster $ +# $Id$ +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis <jrcd83@gmail.com> 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}" +pkgver=0.11 +pkgrel=3 +pkgdesc="Declare version conflicts for your dist" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-list-moreutils' 'perl-exporter') +makedepends=('perl-extutils-makemaker') +checkdepends=('perl-test-fatal' 'perl-module-runtime') +url="https://metacpan.org/release/Dist-CheckConflicts" +source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-$pkgver.tar.gz) +md5sums=('c8725a92b9169708b0f63036812070f2') 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'" \ + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null + cd Dist-CheckConflicts-$pkgver - cd "$_distdir" /usr/bin/perl Makefile.PL make ) @@ -32,19 +31,14 @@ build() { check() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" + cd Dist-CheckConflicts-$pkgver + make test ) } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -} + cd Dist-CheckConflicts-$pkgver -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: + make DESTDIR="$pkgdir"/ install +} diff --git a/abs/core/perl_modules/perl-email-date-format/PKGBUILD b/abs/core/perl_modules/perl-email-date-format/PKGBUILD index 6625738..a7151d5 100644 --- a/abs/core/perl_modules/perl-email-date-format/PKGBUILD +++ b/abs/core/perl_modules/perl-email-date-format/PKGBUILD @@ -1,26 +1,32 @@ -# $Id: PKGBUILD 150522 2012-02-18 12:04:18Z allan $ -# Maintainer: +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> # Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com> pkgname=perl-email-date-format -pkgver=1.002 +pkgver=1.005 pkgrel=3 pkgdesc="produce RFC 2822 date strings" arch=('any') url="http://search.cpan.org/dist/Email-Date-Format" license=('GPL' 'PerlArtistic') depends=('perl') +checkdepends=('perl-test-pod' 'perl-capture-tiny') options=('!emptydirs') source=("http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Date-Format-$pkgver.tar.gz") -md5sums=('7ae25275da6ab272aa8b40141eac9f82') +md5sums=('030dcee3bc1a44674900b0132925bd03') build() { - cd "${srcdir}"/Email-Date-Format-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd Email-Date-Format-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd Email-Date-Format-$pkgver + make test +} + package() { - cd "${srcdir}"/Email-Date-Format-$pkgver + cd 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 index 05b129b..20d151e 100644 --- a/abs/core/perl_modules/perl-encode-locale/PKGBUILD +++ b/abs/core/perl_modules/perl-encode-locale/PKGBUILD @@ -1,52 +1,30 @@ -# Maintainer : Justin "juster" Davis <jrcd83@gmail.com> -# Generator : pbjam 0.01 -# $Id: PKGBUILD 150524 2012-02-18 12:06:36Z allan $ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-encode-locale -pkgver=1.03 -pkgrel=1 +pkgver=1.05 +pkgrel=3 pkgdesc="Determine the locale encoding" -arch=(any) -license=(PerlArtistic GPL) +arch=('any') +url="http://search.cpan.org/dist/Encode-Locale" +license=('PerlArtistic' 'GPL') +depends=('perl') 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" +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-$pkgver.tar.gz) +sha1sums=('1e1632e869cb76e3fdbda0a83a192190ed178d60') 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 - ) + cd Encode-Locale-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd Encode-Locale-$pkgver + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd Encode-Locale-$pkgver + 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-error/PKGBUILD b/abs/core/perl_modules/perl-error/PKGBUILD index a8fa056..2518c31 100644 --- a/abs/core/perl_modules/perl-error/PKGBUILD +++ b/abs/core/perl_modules/perl-error/PKGBUILD @@ -1,34 +1,32 @@ -# $Id: PKGBUILD 163573 2012-07-16 03:20:23Z eric $ -# Maintainer: Dale Blount <dale@archlinux.org> -# Contributor: Dale Blount <dale@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-error -_realname=Error -pkgver=0.17018 +pkgver=0.17026 pkgrel=1 pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way" -url="http://search.cpan.org/dist/${_realname}/" +url="http://search.cpan.org/dist/Error/" arch=('any') license=('PerlArtistic' 'GPL') -depends=('perl>=5.10.0') +depends=('perl') +checkdepends=('perl-test-pod' 'perl-test-pod-coverage') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/${_realname}-${pkgver}.tar.gz) +source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-${pkgver}.tar.gz) +sha512sums=('58d43a133fb74d94d726ae923cdfb7df8e1faf156247bb07cb7308218e21a627485f031d029b3ee3179d92e756dca7f1e6dd1e2f4378f420c72b171aefe2f410') build() { - cd "${srcdir}/${_realname}-${pkgver}" - # install module in vendor directories. + cd Error-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_realname}-${pkgver}" + cd Error-${pkgver} make test } package() { - cd "${srcdir}/${_realname}-${pkgver}" - make install DESTDIR="${pkgdir}" + cd Error-${pkgver} + make DESTDIR="${pkgdir}" install } -md5sums=('1137a7bbb94c9508a2268c467583207f') 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 deleted file mode 100644 index 92c6633..0000000 --- a/abs/core/perl_modules/perl-error/perl-error-0.17016-2-x86_64-build.log.1 +++ /dev/null @@ -1,72 +0,0 @@ -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 -[1m[31m==> ERROR:(B[m[1m A failure occurred in build().(B[m -[1m Aborting...(B[m diff --git a/abs/core/perl_modules/perl-eval-closure/PKGBUILD b/abs/core/perl_modules/perl-eval-closure/PKGBUILD new file mode 100644 index 0000000..8db8ddb --- /dev/null +++ b/abs/core/perl_modules/perl-eval-closure/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Montainer: 3ED <krzysztof1987 at gmail dot com> +# + +pkgname=perl-eval-closure +_lastauthor=D/DO/DOY +_pkgname=Eval-Closure +pkgver=0.14 +pkgrel=3 +pkgdesc="safely and cleanly create closures via string eval" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-try-tiny' 'perl-sub-exporter') +checkdepends=('perl-test-requires' 'perl-test-fatal' 'perl-test-output') +url="https://metacpan.org/release/${_pkgname}" +source=(https://cpan.metacpan.org/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz) +md5sums=('ceeb1fc579ac9af981fa6b600538c285') + +build() { + 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 + + cd "${srcdir}/${_pkgname}-${pkgver}" + perl Makefile.PL + make +} +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make test +} +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make install +} diff --git a/abs/core/perl_modules/perl-expect/PKGBUILD b/abs/core/perl_modules/perl-expect/PKGBUILD index 06e8c89..ea14b88 100644 --- a/abs/core/perl_modules/perl-expect/PKGBUILD +++ b/abs/core/perl_modules/perl-expect/PKGBUILD @@ -1,22 +1,20 @@ -# CPAN Name : Expect -# Contributor: Max Roder <maxroder@web.de> -# Contributor: DarkHeart -# Generator : CPANPLUS::Dist::Arch 1.19 +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 pkgname='perl-expect' -pkgver='1.21' -pkgrel='2' -pkgdesc="Perl version of Don Libes' Tcl-Expect" +pkgver='1.33' +pkgrel='1' +pkgdesc="automate interactions with command line programs that expose a text terminal interface." arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') -depends=('perl-io-tty>=1.03') +depends=('perl-io-tty' 'perl>=5.6.0') makedepends=() -url='http://search.cpan.org/dist/Expect' -source=('http://search.cpan.org/CPAN/authors/id/R/RG/RGIERSIG/Expect-1.21.tar.gz') -md5sums=('a151b0dc4d1a35c73941c65b7c26da5b') -sha512sums=('496716b9e6544e9d6809b7f704df8199291d18ec9ec9ebb4fd2b7b341aa10d9b03989335c1f22d1faddbff0974ceba5b2823685fa08ce6a75e2f3ccaeb944e74') -_distdir="${srcdir}/Expect-1.21" +url='https://metacpan.org/release/Expect' +source=('http://search.cpan.org/CPAN/authors/id/J/JA/JACOBY/Expect-1.33.tar.gz') +md5sums=('1fbb052de1383966a3be5f420a34e83c') +sha512sums=('6351e681d813a98cf12a882cb135c6dc5f38beb72fb96efe13c690b26704acb9c5654b2f27dd833ad078de83cb4144fef4aea381a768c54f9817247210e6b5bf') +_distdir="expect.pm-Expect-1.33" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ @@ -25,22 +23,23 @@ build() { PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null - cd "$_distdir" + cd "$srcdir/$_distdir" /usr/bin/perl Makefile.PL make ) } check() { - cd "$_distdir" + cd "$srcdir/$_distdir" ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test ) } package() { - cd "$_distdir" + cd "$srcdir/$_distdir" make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } diff --git a/abs/core/perl_modules/perl-exporter-tiny/PKGBUILD b/abs/core/perl_modules/perl-exporter-tiny/PKGBUILD new file mode 100644 index 0000000..a758e48 --- /dev/null +++ b/abs/core/perl_modules/perl-exporter-tiny/PKGBUILD @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> + +pkgname=perl-exporter-tiny +pkgver=1.000000 +pkgrel=2 +pkgdesc="an exporter with the features of Sub::Exporter but only core dependencies" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +url='http://search.cpan.org/dist/Exporter-Tiny' +source=("http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK/Exporter-Tiny-$pkgver.tar.gz") +sha512sums=('02e72b3d1ec09fb5b7da5638893a12098d3300cfc36ff417c8d5cd8a4ef54891d675310612130e118e0e6a88d615cc18cdc888ab7333f2fc1007632c82d4c349') +_distdir="Exporter-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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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-fcgi/PKGBUILD b/abs/core/perl_modules/perl-fcgi/PKGBUILD index a03c4ba..1eee9e4 100644 --- a/abs/core/perl_modules/perl-fcgi/PKGBUILD +++ b/abs/core/perl_modules/perl-fcgi/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 160531 2012-06-02 10:27:39Z bluewind $ +# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-fcgi -pkgver=0.74 -pkgrel=3 +pkgver=0.78 +pkgrel=5 pkgdesc="Fast CGI" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/FCGI" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') -source=("http://www.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-${pkgver}.tar.gz") -md5sums=('462a77a0072480fea791a4d3095eb486') +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/FCGI-${pkgver}.tar.gz") +md5sums=('916cd2887b27265cd8dcfd3280135270') build() { cd "${srcdir}/FCGI-${pkgver}" @@ -28,4 +28,12 @@ check() { package() { cd "${srcdir}/FCGI-${pkgver}" make install DESTDIR="${pkgdir}" + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-file-homedir/PKGBUILD b/abs/core/perl_modules/perl-file-homedir/PKGBUILD index 89f9735..6eb202c 100644 --- a/abs/core/perl_modules/perl-file-homedir/PKGBUILD +++ b/abs/core/perl_modules/perl-file-homedir/PKGBUILD @@ -1,44 +1,43 @@ -# Generator : CPANPLUS::Dist::Arch 1.19 +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: chimeracoder <dev@chimeracoder.net> -pkgname='perl-file-homedir' -pkgver='0.99' -pkgrel='1' +pkgname=perl-file-homedir +_cpanname=File-HomeDir +pkgver=1.002 +pkgrel=2 pkgdesc="Find your home and other directories on any platform" arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') -depends=('perl>=5.5.30' 'perl-file-which>=0.05') -makedepends=() -url='http://search.cpan.org/dist/File-HomeDir' -source=('http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-HomeDir-0.99.tar.gz') -md5sums=('cb058c68393631344c2b906026091016') -sha512sums=('ac154f07105fc0267488f152fa9b853f252a8ae8f8dcb39d204ae305ff2ff24e3682ff41b0f5dbb81fe5f8e842e555de009e93704084611b8f8e0e2d4c12192b') -_distdir="${srcdir}/File-HomeDir-0.99" +depends=('perl-file-which') +makedepends=('perl-module-install') +url="https://metacpan.org/release/$_cpanname" +source=("https://cpan.metacpan.org/authors/id/R/RE/REHSACK/$_cpanname-$pkgver.tar.gz") +md5sums=('1e999956661fbee165b088eedb5fee3c') 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 $_cpanname-$pkgver - cd "$_distdir" - /usr/bin/perl Makefile.PL - make - ) -} + # why isn't makepkg doing this? + export -n PERL_MM_OPT PERL5LIB PERL_LOCAL_LIB_ROOT + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 \ + PERL_AUTOINSTALL='--skipdeps' \ + perl Makefile.PL INSTALLDIRS=vendor + make INSTALLDIRS=vendor +} check() { - cd "$_distdir" - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - make test - ) + cd $_cpanname-$pkgver + make test } - package() { - cd "$_distdir" - make install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd $_cpanname-$pkgver + + make INSTALLDIRS=vendor DESTDIR="$pkgdir" install + + # remove perllocal.pod and .packlist + find "$pkgdir" -name '*.pod' -o -name '.packlist' -delete } # Local Variables: diff --git a/abs/core/perl_modules/perl-file-listing/PKGBUILD b/abs/core/perl_modules/perl-file-listing/PKGBUILD index 8656fc1..3b8a04f 100644 --- a/abs/core/perl_modules/perl-file-listing/PKGBUILD +++ b/abs/core/perl_modules/perl-file-listing/PKGBUILD @@ -1,49 +1,30 @@ -# Maintainer: Justin "juster" Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 150631 2012-02-19 01:02:52Z allan $ +# $Id$ +# Maintainer: pkgname=perl-file-listing pkgver=6.04 -pkgrel=1 +pkgrel=4 pkgdesc="parse directory listing" -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=('perl>=5.8.8' 'perl-http-date>=6') -conflicts=('perl-libwww<6') +arch=('any') url="http://search.cpan.org/dist/File-Listing" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-http-date') +options=('!emptydirs') 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}" +sha1sums=('02a41fe1b91f3f198712965360192f31d6d8d74e') 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 - ) + cd File-Listing-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd File-Listing-${pkgver} + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd File-Listing-${pkgver} + 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-file-remove/PKGBUILD b/abs/core/perl_modules/perl-file-remove/PKGBUILD new file mode 100644 index 0000000..c5669eb --- /dev/null +++ b/abs/core/perl_modules/perl-file-remove/PKGBUILD @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> +# Contributor: Francois Charette <firmicus@gmx.net> + +pkgname=perl-file-remove +pkgver=1.57 +pkgrel=2 +pkgdesc="Remove files and directories" +depends=('perl') +arch=('any') +url="http://search.cpan.org/dist/File-Remove" +license=('GPL' 'PerlArtistic') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/File-Remove-$pkgver.tar.gz) +md5sums=('fe7da64339206d6568037209a577724f') + +build() { + cd "$srcdir"/File-Remove-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/File-Remove-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-file-sharedir-install/PKGBUILD b/abs/core/perl_modules/perl-file-sharedir-install/PKGBUILD new file mode 100644 index 0000000..afbe164 --- /dev/null +++ b/abs/core/perl_modules/perl-file-sharedir-install/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Maintainer: Jason St. John <jstjohn .. purdue . edu> +# Contributor: AUR Perl <aurperl@juster.info> + +pkgname=perl-file-sharedir-install +pkgver=0.13 +pkgrel=1 +pkgdesc="File::ShareDir::Install - Install read-only data files from a distribution" +arch=('any') +url="http://search.cpan.org/dist/File-ShareDir-Install" +license=('GPL' 'PerlArtistic') +checkdepends=('perl-test-pod' 'perl-test-pod-coverage') +options=('!emptydirs') +source=("http://cpan.org/modules/by-module/File/File-ShareDir-Install-${pkgver}.tar.gz") +sha256sums=('45befdf0d95cbefe7c25a1daf293d85f780d6d2576146546e6828aad26e580f9') + +build() { + cd "File-ShareDir-Install-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "File-ShareDir-Install-${pkgver}" + make test +} + +package() { + cd "File-ShareDir-Install-${pkgver}" + make install DESTDIR="${pkgdir}" +} diff --git a/abs/core/perl_modules/perl-file-sharedir/PKGBUILD b/abs/core/perl_modules/perl-file-sharedir/PKGBUILD index f57b2ba..e3dd42b 100644 --- a/abs/core/perl_modules/perl-file-sharedir/PKGBUILD +++ b/abs/core/perl_modules/perl-file-sharedir/PKGBUILD @@ -1,19 +1,20 @@ -# $Id: PKGBUILD 149415 2012-02-07 16:24:01Z heftig $ +# $Id$ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Caleb Cushing <xenoterracide@gmail.com> pkgname=perl-file-sharedir _realname=File-ShareDir -pkgver=1.03 -pkgrel=2 +pkgver=1.102 +pkgrel=3 pkgdesc="Locate per-dist and per-module shared files" arch=(any) license=(PerlArtistic GPL) depends=(perl-class-inspector) url="http://search.cpan.org/dist/File-ShareDir" options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_realname-$pkgver.tar.gz") -md5sums=('333a0903db23b9097adfbeb37b99d561') +_author=REHSACK +source=("http://search.cpan.org/CPAN/authors/id/${_author::1}/${_author::2}/${_author}/$_realname-$pkgver.tar.gz") +md5sums=('553157f0e81cd2dabfe140ceb06cd03f') build() { cd "$srcdir/$_realname-$pkgver" diff --git a/abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD b/abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD new file mode 100644 index 0000000..100ba08 --- /dev/null +++ b/abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=perl-file-slurp-tiny +pkgver=0.004 +pkgrel=3 +pkgdesc="A simple, sane and efficient file slurper" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/File-Slurp-Tiny' +source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/File-Slurp-Tiny-$pkgver.tar.gz") +md5sums=('7575b81543281ea57cdb7e5eb3f73264') + +build() { + cd "$srcdir/File-Slurp-Tiny-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir/File-Slurp-Tiny-$pkgver" + PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd "$srcdir/File-Slurp-Tiny-$pkgver" + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-file-slurp/PKGBUILD b/abs/core/perl_modules/perl-file-slurp/PKGBUILD index 5e96fd8..1db97f1 100644 --- a/abs/core/perl_modules/perl-file-slurp/PKGBUILD +++ b/abs/core/perl_modules/perl-file-slurp/PKGBUILD @@ -1,23 +1,29 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-file-slurp -pkgver=9999.13 -pkgrel=1 +pkgver=9999.19 +pkgrel=4 pkgdesc="Read/write/append files quickly" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~DROLSKY/File-Slurp" +arch=('any') +url="http://search.cpan.org/dist/File-Slurp" license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +depends=('perl>=5.14.0') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/File-Slurp-$pkgver.tar.gz) -md5sums=('ac3cd9d466b99d1534762ff3549aaa66') +source=(https://www.cpan.org/authors/id/U/UR/URI/File-Slurp-$pkgver.tar.gz) +sha256sums=('ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643') build() { - cd $startdir/src/File-Slurp-$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"/File-Slurp-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/File-Slurp-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-file-which/PKGBUILD b/abs/core/perl_modules/perl-file-which/PKGBUILD index 6ba407e..6bfc8f1 100644 --- a/abs/core/perl_modules/perl-file-which/PKGBUILD +++ b/abs/core/perl_modules/perl-file-which/PKGBUILD @@ -1,17 +1,20 @@ -# $Id: PKGBUILD 149416 2012-02-07 16:24:46Z heftig $ +# $Id$ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com # Contributor: Charles Mauch <cmauch@gmail.com> pkgname=perl-file-which _realname=File-Which -pkgver=1.09 -pkgrel=3 +pkgver=1.22 +pkgrel=1 pkgdesc="Portable implementation of which" arch=(any) url="http://search.cpan.org/dist/File-Which" license=(GPL PerlArtistic) -source=("http://www.cpan.org/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz") -md5sums=('b9429edaad7f45caafa4d458afcfd8af') +depends=(perl) +options=('!emptydirs') +_author=PLICEASE +source=("https://www.cpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/${_realname}-${pkgver}.tar.gz") +md5sums=('face60fafd220dc83fa581ef6f96d480') build() { cd "$srcdir/${_realname}-${pkgver}" diff --git a/abs/core/perl_modules/perl-html-form/PKGBUILD b/abs/core/perl_modules/perl-html-form/PKGBUILD index f14fb80..a9c5afd 100644 --- a/abs/core/perl_modules/perl-html-form/PKGBUILD +++ b/abs/core/perl_modules/perl-html-form/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 69178 2012-04-10 00:11:28Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer : Justin "juster" Davis <jrcd83@gmail.com> pkgname=perl-html-form pkgver=6.03 -pkgrel=1 +pkgrel=4 pkgdesc="Class that represents an HTML form element" arch=(any) license=(PerlArtistic GPL) @@ -19,8 +19,8 @@ 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'" \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \ + PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \ MODULEBUILDRC=/dev/null perl Makefile.PL make } diff --git a/abs/core/perl_modules/perl-html-parser/PKGBUILD b/abs/core/perl_modules/perl-html-parser/PKGBUILD index b30443f..172a9fe 100644 --- a/abs/core/perl_modules/perl-html-parser/PKGBUILD +++ b/abs/core/perl_modules/perl-html-parser/PKGBUILD @@ -1,35 +1,41 @@ -# $Id: PKGBUILD 160535 2012-06-02 10:27:46Z bluewind $ -# Maintainer: kevin <kevin@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: kevin <kevin@archlinux.org> # Contributor: Manolis Tzanidakis -# Contributor: Firmicus <francois.archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> pkgname=perl-html-parser -_realname=HTML-Parser -pkgver=3.69 -pkgrel=2 +pkgver=3.72 +pkgrel=5 pkgdesc="Perl HTML parser class" -arch=('i686' 'x86_64') +arch=('x86_64') license=('PerlArtistic') -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=('d22cc6468ce670a56034be907e4e7c54') +url="http://search.cpan.org/dist/HTML-Parser/" +depends=('perl-html-tagset') +checkdepends=('perl-test-pod') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-${pkgver}.tar.gz) +md5sums=('eb7505e5f626913350df9dd4a03d54a8') build() { - cd "${srcdir}/${_realname}-${pkgver}" - # install module in vendor directories. + cd HTML-Parser-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_realname}-${pkgver}" + cd HTML-Parser-${pkgver} make test } package() { - cd "${srcdir}/${_realname}-${pkgver}" + cd HTML-Parser-${pkgver} make install DESTDIR="${pkgdir}" +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } -# vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-html-tagset/PKGBUILD b/abs/core/perl_modules/perl-html-tagset/PKGBUILD index 3c69273..7e9d678 100644 --- a/abs/core/perl_modules/perl-html-tagset/PKGBUILD +++ b/abs/core/perl_modules/perl-html-tagset/PKGBUILD @@ -1,11 +1,12 @@ -# $Id: PKGBUILD 150635 2012-02-19 01:16:52Z allan $ -# Maintainer: kevin <kevin@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Conributor: kevin <kevin@archlinux.org> # Contributor: Manolis Tzanidakis pkgname=perl-html-tagset _realname=HTML-Tagset pkgver=3.20 -pkgrel=3 +pkgrel=6 pkgdesc="Data tables useful in parsing HTML" arch=('any') license=('PerlArtistic') diff --git a/abs/core/perl_modules/perl-html-template/PKGBUILD b/abs/core/perl_modules/perl-html-template/PKGBUILD index ee70580..ffe3cb0 100644 --- a/abs/core/perl_modules/perl-html-template/PKGBUILD +++ b/abs/core/perl_modules/perl-html-template/PKGBUILD @@ -1,30 +1,34 @@ -# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ -# Maintainer: Firmicus <francois.archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Charles Mauch <cmauch@gmail.com> pkgname=perl-html-template -_cpanname=HTML-Template -pkgver=2.91 -pkgrel=1 +pkgver=2.97 +pkgrel=2 pkgdesc="A simple HTML templating system" arch=('any') url="http://search.cpan.org/dist/HTML-Template" license=("GPL" "PerlArtistic") depends=('perl') +checkdepends=('perl-cgi') options=('!emptydirs') -source=("http://www.cpan.org/authors/id/W/WO/WONKO/${_cpanname}-${pkgver}.tar.gz") +source=("http://www.cpan.org/authors/id/S/SA/SAMTREGAR/HTML-Template-$pkgver.tar.gz") +sha512sums=('e1cb68db24db1692c0fb3838739798e5716340e3e78260ee95614af5bf29ee100cc86bbd15a2dda3bb98c7f2ecdf0e3ff8ca7775171a44d9ed347d7f9c850783') build() { - cd "${srcdir}/${_cpanname}-${pkgver}" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd HTML-Template-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd HTML-Template-$pkgver + make test +} + package() { - cd "${srcdir}/${_cpanname}-${pkgver}" - make install DESTDIR="${pkgdir}" - find "${pkgdir}" -name '.packlist' -delete - find "${pkgdir}" -name '*.pod' -delete + cd HTML-Template-$pkgver + make DESTDIR="$pkgdir" install } -md5sums=('bb43b4bef739a705ef859c4e21e6194c') diff --git a/abs/core/perl_modules/perl-html-tree/PKGBUILD b/abs/core/perl_modules/perl-html-tree/PKGBUILD index f946545..d056d31 100644 --- a/abs/core/perl_modules/perl-html-tree/PKGBUILD +++ b/abs/core/perl_modules/perl-html-tree/PKGBUILD @@ -1,23 +1,30 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Allan McRae <mcrae_allan@hotmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-html-tree -pkgver=3.23 -pkgrel=6 +pkgver=5.06 +pkgrel=2 pkgdesc="Make parse trees out of HTML source" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~PETEK/HTML-Tree" +arch=('any') +url="http://search.cpan.org/dist/HTML-Tree" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0' 'perl-html-tagset>=3.02' 'perl-html-parser>=3.46') +makedepends=('perl-test-fatal' 'perl-module-build') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/P/PE/PETEK/HTML-Tree-$pkgver.tar.gz) -md5sums=('6352f50be402301f79b580dd235d7762') +source=(http://search.cpan.org/CPAN/authors/id/K/KE/KENTNL/HTML-Tree-$pkgver.tar.gz) +sha256sums=('9c36eb19cbdf9a5906c858948ca51c35bd7561f52cc18c43281acbe57327536e') build() { - cd $startdir/src/HTML-Tree-$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"/HTML-Tree-$pkgver + perl Build.PL installdirs=vendor destdir="$pkgdir/" + perl Build +} + +package() { + cd "$srcdir"/HTML-Tree-$pkgver + perl Build install + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-http-cache-transparent/PKGBUILD b/abs/core/perl_modules/perl-http-cache-transparent/PKGBUILD index 23a7170..83695bf 100644 --- a/abs/core/perl_modules/perl-http-cache-transparent/PKGBUILD +++ b/abs/core/perl_modules/perl-http-cache-transparent/PKGBUILD @@ -1,23 +1,29 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Allan McRae <mcrae_allan@hotmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-http-cache-transparent -pkgver=1.0 +pkgver=1.4 pkgrel=2 pkgdesc="Cache the result of http-gets persistently" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~MATTIASH/HTTP-Cache-Transparent" +arch=('any') +url="http://search.cpan.org/dist/HTTP-Cache-Transparent" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0' 'perl-libwww') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/M/MA/MATTIASH/HTTP-Cache-Transparent-$pkgver.tar.gz) -md5sums=('e198345ce8eee2562c807e84d65e3b4f') +source=(https://www.cpan.org/authors/id/M/MA/MATTIASH/HTTP-Cache-Transparent-$pkgver.tar.gz) +sha256sums=('6622e1b5e5af952b1711aea247bdcb1b91c2aac0f11f32f819a2d07e11dd2845') build() { - cd $startdir/src/HTTP-Cache-Transparent-$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"/HTTP-Cache-Transparent-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/HTTP-Cache-Transparent-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-http-cookies/PKGBUILD b/abs/core/perl_modules/perl-http-cookies/PKGBUILD index 578f05f..56ff5b2 100644 --- a/abs/core/perl_modules/perl-http-cookies/PKGBUILD +++ b/abs/core/perl_modules/perl-http-cookies/PKGBUILD @@ -1,52 +1,30 @@ -# Maintainer : Justin "juster" Davis <jrcd83@gmail.com> -# Generator : pbjam 0.01 -# $Id: PKGBUILD 150637 2012-02-19 01:19:55Z allan $ +# $Id$ +# Maintainer: pkgname=perl-http-cookies -pkgver=6.01 -pkgrel=1 +pkgver=6.04 +pkgrel=2 pkgdesc="HTTP cookie jars" -arch=(any) -license=(PerlArtistic GPL) +arch=('any') +url="http://search.cpan.org/dist/HTTP-Cookies" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-http-date' 'perl-http-message') 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" +source=(http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTTP-Cookies-$pkgver.tar.gz) +sha512sums=('e8b24b96e6630f1238e828edfbf7074fb9186a391fd1d129fb65a82748a4cf7d71669fa658c31957560a6faac3e638c8dc7aa3182acaa6fd14f0d56f3968f5e4') 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 - ) + cd HTTP-Cookies-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd HTTP-Cookies-$pkgver + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd HTTP-Cookies-$pkgver + 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-daemon/HTTP-Daemon-6.01-Add-IPv6-support.patch b/abs/core/perl_modules/perl-http-daemon/HTTP-Daemon-6.01-Add-IPv6-support.patch new file mode 100644 index 0000000..dd9d5ee --- /dev/null +++ b/abs/core/perl_modules/perl-http-daemon/HTTP-Daemon-6.01-Add-IPv6-support.patch @@ -0,0 +1,305 @@ +From 067faffb8e596a53c9ac2ed7e571472f7a163681 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> +Date: Mon, 16 Jan 2017 16:13:08 +0100 +Subject: [PATCH] Add IPv6 support +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This patch ports the code from IO::Socket::INET to IO::Socket::IP in +order to support IPv6. + +CPAN RT #91699, #71395. + +Signed-off-by: Petr Písař <ppisar@redhat.com> +--- + Makefile.PL | 1 + + README | 24 ++++++++++++------------ + lib/HTTP/Daemon.pm | 43 ++++++++++++++++++++++++++++--------------- + t/chunked.t | 34 +++++++++++++++++++++++----------- + 4 files changed, 64 insertions(+), 38 deletions(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 09c7e86..85d5712 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -14,6 +14,7 @@ WriteMakefile( + PREREQ_PM => { + 'Sys::Hostname' => 0, + 'IO::Socket' => 0, ++ 'IO::Socket::IP' => 0, + 'HTTP::Request' => 6, + 'HTTP::Response' => 6, + 'HTTP::Status' => 6, +diff --git a/README b/README +index be5a20a..ddb3b6e 100644 +--- a/README ++++ b/README +@@ -24,12 +24,12 @@ SYNOPSIS + DESCRIPTION + Instances of the `HTTP::Daemon' class are HTTP/1.1 servers that listen + on a socket for incoming requests. The `HTTP::Daemon' is a subclass of +- `IO::Socket::INET', so you can perform socket operations directly on it ++ `IO::Socket::IP', so you can perform socket operations directly on it + too. + + The accept() method will return when a connection from a client is + available. The returned value will be an `HTTP::Daemon::ClientConn' +- object which is another `IO::Socket::INET' subclass. Calling the ++ object which is another `IO::Socket::IP' subclass. Calling the + get_request() method on this object will read data from the client and + return an `HTTP::Request' object. The ClientConn object also provide + methods to send back various responses. +@@ -40,13 +40,13 @@ DESCRIPTION + responses that conform to the HTTP/1.1 protocol. + + The following methods of `HTTP::Daemon' are new (or enhanced) relative +- to the `IO::Socket::INET' base class: ++ to the `IO::Socket::IP' base class: + + $d = HTTP::Daemon->new + $d = HTTP::Daemon->new( %opts ) + The constructor method takes the same arguments as the +- `IO::Socket::INET' constructor, but unlike its base class it can +- also be called without any arguments. The daemon will then set up a ++ `IO::Socket::IP' constructor, but unlike its base class it can also ++ be called without any arguments. The daemon will then set up a + listen queue of 5 connections and allocate some random port number. + + A server that wants to bind to some specific address on the standard +@@ -57,8 +57,8 @@ DESCRIPTION + LocalPort => 80, + ); + +- See IO::Socket::INET for a description of other arguments that can +- be used configure the daemon during construction. ++ See IO::Socket::IP for a description of other arguments that can be ++ used configure the daemon during construction. + + $c = $d->accept + $c = $d->accept( $pkg ) +@@ -71,7 +71,7 @@ DESCRIPTION + + The accept method will return `undef' if timeouts have been enabled + and no connection is made within the given time. The timeout() +- method is described in IO::Socket. ++ method is described in IO::Socket::IP. + + In list context both the client object and the peer address will be + returned; see the description of the accept method IO::Socket for +@@ -89,9 +89,9 @@ DESCRIPTION + The default is the string "libwww-perl-daemon/#.##" where "#.##" is + replaced with the version number of this module. + +- The `HTTP::Daemon::ClientConn' is a `IO::Socket::INET' subclass. +- Instances of this class are returned by the accept() method of +- `HTTP::Daemon'. The following methods are provided: ++ The `HTTP::Daemon::ClientConn' is a `IO::Socket::IP' subclass. Instances ++ of this class are returned by the accept() method of `HTTP::Daemon'. The ++ following methods are provided: + + $c->get_request + $c->get_request( $headers_only ) +@@ -227,7 +227,7 @@ DESCRIPTION + SEE ALSO + RFC 2616 + +- IO::Socket::INET, IO::Socket ++ IO::Socket::IP, IO::Socket + + COPYRIGHT + Copyright 1996-2003, Gisle Aas +diff --git a/lib/HTTP/Daemon.pm b/lib/HTTP/Daemon.pm +index 27a7bf4..0e22b77 100644 +--- a/lib/HTTP/Daemon.pm ++++ b/lib/HTTP/Daemon.pm +@@ -5,8 +5,10 @@ use vars qw($VERSION @ISA $PROTO $DEBUG); + + $VERSION = "6.01"; + +-use IO::Socket qw(AF_INET INADDR_ANY INADDR_LOOPBACK inet_ntoa); +-@ISA=qw(IO::Socket::INET); ++use Socket qw(AF_INET AF_INET6 INADDR_ANY IN6ADDR_ANY ++ INADDR_LOOPBACK IN6ADDR_LOOPBACK inet_ntop sockaddr_family); ++use IO::Socket::IP; ++@ISA=qw(IO::Socket::IP); + + $PROTO = "HTTP/1.1"; + +@@ -40,15 +42,26 @@ sub url + my $self = shift; + my $url = $self->_default_scheme . "://"; + my $addr = $self->sockaddr; +- if (!$addr || $addr eq INADDR_ANY) { ++ if (!$addr || $addr eq INADDR_ANY || $addr eq IN6ADDR_ANY) { + require Sys::Hostname; + $url .= lc Sys::Hostname::hostname(); + } + elsif ($addr eq INADDR_LOOPBACK) { +- $url .= inet_ntoa($addr); ++ $url .= inet_ntop(AF_INET, $addr); ++ } ++ elsif ($addr eq IN6ADDR_LOOPBACK) { ++ $url .= '[' . inet_ntop(AF_INET6, $addr) . ']'; + } + else { +- $url .= gethostbyaddr($addr, AF_INET) || inet_ntoa($addr); ++ my $host = $addr->sockhostname; ++ if (!defined $host) { ++ if (sockaddr_family($addr) eq AF_INET6) { ++ $host = '[' . inet_ntop(AF_INET6, $addr) . ']'; ++ } else { ++ $host = inet_ntop(AF_INET6, $addr); ++ } ++ } ++ $url .= $host; + } + my $port = $self->sockport; + $url .= ":$port" if $port != $self->_default_port; +@@ -77,8 +90,8 @@ sub product_tokens + package HTTP::Daemon::ClientConn; + + use vars qw(@ISA $DEBUG); +-use IO::Socket (); +-@ISA=qw(IO::Socket::INET); ++use IO::Socket::IP (); ++@ISA=qw(IO::Socket::IP); + *DEBUG = \$HTTP::Daemon::DEBUG; + + use HTTP::Request (); +@@ -645,12 +658,12 @@ HTTP::Daemon - a simple http server class + + Instances of the C<HTTP::Daemon> class are HTTP/1.1 servers that + listen on a socket for incoming requests. The C<HTTP::Daemon> is a +-subclass of C<IO::Socket::INET>, so you can perform socket operations ++subclass of C<IO::Socket::IP>, so you can perform socket operations + directly on it too. + + The accept() method will return when a connection from a client is + available. The returned value will be an C<HTTP::Daemon::ClientConn> +-object which is another C<IO::Socket::INET> subclass. Calling the ++object which is another C<IO::Socket::IP> subclass. Calling the + get_request() method on this object will read data from the client and + return an C<HTTP::Request> object. The ClientConn object also provide + methods to send back various responses. +@@ -661,7 +674,7 @@ desirable. Also note that the user is responsible for generating + responses that conform to the HTTP/1.1 protocol. + + The following methods of C<HTTP::Daemon> are new (or enhanced) relative +-to the C<IO::Socket::INET> base class: ++to the C<IO::Socket::IP> base class: + + =over 4 + +@@ -670,7 +683,7 @@ to the C<IO::Socket::INET> base class: + =item $d = HTTP::Daemon->new( %opts ) + + The constructor method takes the same arguments as the +-C<IO::Socket::INET> constructor, but unlike its base class it can also ++C<IO::Socket::IP> constructor, but unlike its base class it can also + be called without any arguments. The daemon will then set up a listen + queue of 5 connections and allocate some random port number. + +@@ -682,7 +695,7 @@ HTTP port will be constructed like this: + LocalPort => 80, + ); + +-See L<IO::Socket::INET> for a description of other arguments that can ++See L<IO::Socket::IP> for a description of other arguments that can + be used configure the daemon during construction. + + =item $c = $d->accept +@@ -699,7 +712,7 @@ class a subclass of C<HTTP::Daemon::ClientConn>. + + The accept method will return C<undef> if timeouts have been enabled + and no connection is made within the given time. The timeout() method +-is described in L<IO::Socket>. ++is described in L<IO::Socket::IP>. + + In list context both the client object and the peer address will be + returned; see the description of the accept method L<IO::Socket> for +@@ -721,7 +734,7 @@ replaced with the version number of this module. + + =back + +-The C<HTTP::Daemon::ClientConn> is a C<IO::Socket::INET> ++The C<HTTP::Daemon::ClientConn> is a C<IO::Socket::IP> + subclass. Instances of this class are returned by the accept() method + of C<HTTP::Daemon>. The following methods are provided: + +@@ -895,7 +908,7 @@ Return a reference to the corresponding C<HTTP::Daemon> object. + + RFC 2616 + +-L<IO::Socket::INET>, L<IO::Socket> ++L<IO::Socket::IP>, L<IO::Socket> + + =head1 COPYRIGHT + +diff --git a/t/chunked.t b/t/chunked.t +index e11799f..c274b11 100644 +--- a/t/chunked.t ++++ b/t/chunked.t +@@ -95,18 +95,30 @@ my $can_fork = $Config{d_fork} || + my $tests = @TESTS; + my $tport = 8333; + +-my $tsock = IO::Socket::INET->new(LocalAddr => '0.0.0.0', +- LocalPort => $tport, +- Listen => 1, +- ReuseAddr => 1); ++my @addresses = ( ++ { server => '::', client => '::1' }, ++ { server => '0.0.0.0', client => '127.0.0.1' } ++); ++my $family; ++for my $id (0..$#addresses) { ++ my $tsock = IO::Socket::IP->new(LocalAddr => $addresses[$id]->{server}, ++ LocalPort => $tport, ++ Listen => 1, ++ ReuseAddr => 1); ++ if ($tsock) { ++ close $tsock; ++ $family = $id; ++ last; ++ } ++} ++ + if (!$can_fork) { + plan skip_all => "This system cannot fork"; + } +-elsif (!$tsock) { +- plan skip_all => "Cannot listen on 0.0.0.0:$tport"; ++elsif (!defined $family) { ++ plan skip_all => "Cannot listen on unspecifed address and port $tport"; + } + else { +- close $tsock; + plan tests => $tests; + } + +@@ -132,9 +144,9 @@ if ($pid = fork) { + open my $fh, "| socket localhost $tport" or die; + print $fh $test; + } +- use IO::Socket::INET; +- my $sock = IO::Socket::INET->new( +- PeerAddr => "127.0.0.1", ++ use IO::Socket::IP; ++ my $sock = IO::Socket::IP->new( ++ PeerAddr => $addresses[$family]->{client}, + PeerPort => $tport, + ) or die; + if (0) { +@@ -158,7 +170,7 @@ if ($pid = fork) { + } else { + die "cannot fork: $!" unless defined $pid; + my $d = HTTP::Daemon->new( +- LocalAddr => '0.0.0.0', ++ LocalAddr => $addresses[$family]->{server}, + LocalPort => $tport, + ReuseAddr => 1, + ) or die; +-- +2.7.4 + diff --git a/abs/core/perl_modules/perl-http-daemon/HTTP-Daemon-6.01-Handle-undef-and-empty-LocalAddr.patch b/abs/core/perl_modules/perl-http-daemon/HTTP-Daemon-6.01-Handle-undef-and-empty-LocalAddr.patch new file mode 100644 index 0000000..f6fe289 --- /dev/null +++ b/abs/core/perl_modules/perl-http-daemon/HTTP-Daemon-6.01-Handle-undef-and-empty-LocalAddr.patch @@ -0,0 +1,48 @@ +From b54702ab21edbf1ea0dbc00d978aecc89e5764d6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> +Date: Mon, 18 Sep 2017 15:21:16 +0200 +Subject: [PATCH] Handle undef and empty LocalAddr +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +IO::Socket::INET interprets undefined and empty string LocalAddr +arguments as an unspecified address while IO::Socket::IP returns an +error. This seems to be one of the differences between the two +Socket implementations. Recent IO::Socket::IP (0.39) accepts undefined +value, but still bail outs on an empty string. + +To improve compatibility, this patch adds a special handling for these +two values to be accepted as an unspecified value. Though this should +be corrected on IO::Socket:IP side probably. + +CPAN RT#91699 +CPAN RT#123069 + +Signed-off-by: Petr Písař <ppisar@redhat.com> +--- + lib/HTTP/Daemon.pm | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/lib/HTTP/Daemon.pm b/lib/HTTP/Daemon.pm +index 0e22b77..1e9d48e 100644 +--- a/lib/HTTP/Daemon.pm ++++ b/lib/HTTP/Daemon.pm +@@ -18,6 +18,14 @@ sub new + my($class, %args) = @_; + $args{Listen} ||= 5; + $args{Proto} ||= 'tcp'; ++ # Handle undefined or empty local address the same way as ++ # IO::Socket::INET -- use unspecified address ++ for my $key (qw(LocalAddr LocalHost)) { ++ if (exists $args{$key} && ++ (!defined($args{$key}) || $args{$key} eq '')) { ++ delete $args{$key}; ++ } ++ } + return $class->SUPER::new(%args); + } + +-- +2.13.5 + diff --git a/abs/core/perl_modules/perl-http-daemon/PKGBUILD b/abs/core/perl_modules/perl-http-daemon/PKGBUILD index bf55adc..29d3d0e 100644 --- a/abs/core/perl_modules/perl-http-daemon/PKGBUILD +++ b/abs/core/perl_modules/perl-http-daemon/PKGBUILD @@ -1,53 +1,42 @@ -# Maintainer : Justin "juster" Davis <jrcd83@gmail.com> -# Generator : pbjam 0.01 -# $Id: PKGBUILD 140094 2011-10-06 16:01:26Z bluewind $ +# $Id$ +# Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=perl-http-daemon -pkgver=6.00 -pkgrel=1 -pkgdesc="a simple http server class" -arch=(any) -license=(PerlArtistic GPL) +pkgver=6.01 +pkgrel=5 +pkgdesc="Simple http server class" +arch=('any') +url='https://metacpan.org/pod/HTTP::Daemon' +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-http-date' 'perl-http-message' 'perl-lwp-mediatypes') 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" +source=(https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-${pkgver}.tar.gz + HTTP-Daemon-6.01-Add-IPv6-support.patch + HTTP-Daemon-6.01-Handle-undef-and-empty-LocalAddr.patch) +sha256sums=('43fd867742701a3f9fcc7bd59838ab72c6490c0ebaf66901068ec6997514adc2' + 'a4bac445248fb494f88e7189a74f1a5d916ae7778edd089ed5a97e0d443e1ebf' + '3c46084a36f4a3c3f83e7ed8f4393a6588a5c8d0dbdc948a4f0d6fddc65005ec') -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 +prepare() { + cd "${srcdir}/HTTP-Daemon-${pkgver}" + patch -p1 < ../HTTP-Daemon-6.01-Add-IPv6-support.patch + patch -p1 < ../HTTP-Daemon-6.01-Handle-undef-and-empty-LocalAddr.patch +} - cd "$_distdir" - /usr/bin/perl Makefile.PL - make - ) +build() { + cd "${srcdir}/HTTP-Daemon-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd "${srcdir}/HTTP-Daemon-${pkgver}" + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd "${srcdir}/HTTP-Daemon-${pkgver}" + make DESTDIR="${pkgdir}" install } -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: +# vim: 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 index 20ea327..245a8cf 100644 --- a/abs/core/perl_modules/perl-http-date/PKGBUILD +++ b/abs/core/perl_modules/perl-http-date/PKGBUILD @@ -1,51 +1,30 @@ -# Maintainer : Justin "juster" Davis <jrcd83@gmail.com> -# Generator : pbjam 0.01 -# $Id: PKGBUILD 150639 2012-02-19 01:23:42Z allan $ +# $Id$ +# Maintainer: pkgname=perl-http-date -pkgver=6.01 -pkgrel=1 -pkgdesc="date conversion routines" -arch=(any) -license=(PerlArtistic GPL) +pkgver=6.02 +pkgrel=4 +pkgdesc="Date conversion routines" +arch=('any') +url="http://search.cpan.org/dist/HTTP-Date" +license=('PerlArtistic' 'GPL') +depends=('perl') 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" +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Date-$pkgver.tar.gz) +sha1sums=('85f8dbcad22f2680775a185ce91a42c89e0ad2a8') 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 - ) + cd HTTP-Date-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd HTTP-Date-$pkgver + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install + cd HTTP-Date-$pkgver + 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 index a743973..2378918 100644 --- a/abs/core/perl_modules/perl-http-message/PKGBUILD +++ b/abs/core/perl_modules/perl-http-message/PKGBUILD @@ -1,52 +1,37 @@ -# Maintainer : Justin "juster" Davis <jrcd83@gmail.com> -# Generator : pbjam 0.01 -# $Id: PKGBUILD 150641 2012-02-19 01:25:44Z allan $ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Justin "juster" Davis <jrcd83@gmail.com> +# Generator : pbjam 0.01 pkgname=perl-http-message -pkgver=6.03 +pkgver=6.16 pkgrel=1 pkgdesc="HTTP style messages" -arch=(any) -license=(PerlArtistic GPL) +arch=('any') +url='http://search.cpan.org/dist/HTTP-Message' +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=() +depends=('perl' 'perl-encode-locale' 'perl-http-date' 'perl-lwp-mediatypes' 'perl-uri' + 'perl-io-html') +makedepends=('perl-try-tiny') 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" +source=("http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTTP-Message-$pkgver.tar.gz") +sha512sums=('9dae693623fa81a0d62ec66fa59b71f5cdbdae6b3146617632b4de0dfa2bbe9eb0a51cf0e98e1ababd85aad97510b469da64ec2254d09bb89461412099344128') 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 - ) + cd HTTP-Message-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd HTTP-Message-$pkgver + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install + cd HTTP-Message-$pkgver + 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 index 850f45a..c12a54c 100644 --- a/abs/core/perl_modules/perl-http-negotiate/PKGBUILD +++ b/abs/core/perl_modules/perl-http-negotiate/PKGBUILD @@ -1,51 +1,30 @@ -# Maintainer : Justin "juster" Davis <jrcd83@gmail.com> -# Generator : pbjam 0.01 -# $Id: PKGBUILD 150643 2012-02-19 01:27:33Z allan $ +# $Id$ +# Maintainer: pkgname=perl-http-negotiate pkgver=6.01 -pkgrel=1 -pkgdesc="choose a variant to serve" -arch=(any) -license=(PerlArtistic GPL) +pkgrel=4 +pkgdesc="Choose a variant to serve" +arch=('any') +url="http://search.cpan.org/dist/HTTP-Negotiate" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-http-message') 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" +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Negotiate-$pkgver.tar.gz) +sha1sums=('4a4974639d9b64f7132cb075f551f7293f788c62') 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 - ) + cd HTTP-Negotiate-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd HTTP-Negotiate-$pkgver + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install + cd HTTP-Negotiate-$pkgver + 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-response-encoding/PKGBUILD b/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD index be9c20e..c65927c 100644 --- a/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD +++ b/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD @@ -1,28 +1,29 @@ -# $Id: PKGBUILD 3654 2009-10-07 08:13:13Z spupykin $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Allan McRae <allan@archlinux.org> # Contributor: Mladen Pejakovic <pejakm@gmail.com> pkgname=perl-http-response-encoding pkgver=0.06 -pkgrel=1 +pkgrel=4 pkgdesc="Adds encoding to HTTP::Response" -arch=(any) +arch=('any') url="http://search.cpan.org/dist/HTTP-Response-Encoding" license=('GPL' 'PerlArtistic') depends=('perl-libwww') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-$pkgver.tar.gz) -md5sums=('7e1d46f2d88022580e1a18bb7ac4ab71') +source=("https://www.cpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-$pkgver.tar.gz") +sha256sums=('10167b8e238a682004ab0d7accbe9d76eae2db57af07c5ae2dfa808074a4a8aa') build() { - cd $srcdir/HTTP-Response-Encoding-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + cd "${srcdir}"/HTTP-Response-Encoding-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make } + package() { - cd $srcdir/HTTP-Response-Encoding-$pkgver - make install DESTDIR=$pkgdir || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + cd "${srcdir}"/HTTP-Response-Encoding-$pkgver + make install DESTDIR="${pkgdir}" + find "${pkgdir}" -name '.packlist' -delete + find "${pkgdir}" -name '*.pod' -delete } - diff --git a/abs/core/perl_modules/perl-http-server-simple/PKGBUILD b/abs/core/perl_modules/perl-http-server-simple/PKGBUILD index 33dd3f3..06ba6de0 100644 --- a/abs/core/perl_modules/perl-http-server-simple/PKGBUILD +++ b/abs/core/perl_modules/perl-http-server-simple/PKGBUILD @@ -1,24 +1,29 @@ -# $Id: PKGBUILD 56432 2011-10-07 09:57:00Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-http-server-simple -pkgver=0.44 +pkgver=0.52 pkgrel=1 -pkgdesc="Lightweight HTTP server " +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') +source=(http://search.cpan.org/CPAN/authors/id/B/BP/BPS/HTTP-Server-Simple-$pkgver.tar.gz) +sha256sums=('d8939fa4f12bd6b8c043537fd0bf96b055ac3686b9cdd9fa773dca6ae679cb4c') build() { - cd $srcdir/HTTP-Server-Simple-$pkgver + cd "$srcdir"/HTTP-Server-Simple-$pkgver + PERL_USE_UNSAFE_INC=1 \ 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 +} + +package() { + cd "$srcdir"/HTTP-Server-Simple-$pkgver + 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 db516ac..701e744 100644 --- a/abs/core/perl_modules/perl-image-size/PKGBUILD +++ b/abs/core/perl_modules/perl-image-size/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 73855 2012-07-16 05:43:31Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: <francois . archlinux . org> # Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com> # Contributor: Igor Scabini <furester@gmail.com> pkgname=perl-image-size -pkgver=3.232 -pkgrel=1 +pkgver=3.300 +pkgrel=2 pkgdesc="Read the dimensions of an image in several popular formats" arch=(any) url="http://search.cpan.org/dist/Image-Size/" @@ -14,16 +14,16 @@ license=('LGPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/Image-Size-$pkgver.tar.gz") -md5sums=('908db185487fabdd293f7759113b3a49') +md5sums=('c8f7f5097cadb984e57e9c0cad1f16b3') build() { - cd $srcdir/Image-Size-$pkgver + cd "$srcdir"/Image-Size-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd $srcdir/Image-Size-$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-inc-latest/PKGBUILD b/abs/core/perl_modules/perl-inc-latest/PKGBUILD new file mode 100644 index 0000000..61b042b --- /dev/null +++ b/abs/core/perl_modules/perl-inc-latest/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> + +pkgname=perl-inc-latest +pkgver=0.500 +pkgrel=4 +pkgdesc="Build, test, and install Perl modules" +arch=('any') +url="https://github.com/dagolden/inc-latest" +license=('Apache') +depends=('perl') +checkdepends=('perl-cpan-meta') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/inc-latest-$pkgver.tar.gz") +sha512sums=('b312d1dfce963322796bc0127f0ecd82c12baacf9e5df40d9acc093221edd80f3696ce6d9f185ed24b21983147363d1d0ff3e273b8b5ce7559a6f16983a1385c') + +build() { + cd inc-latest-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd inc-latest-$pkgver + make test +} + +package() { + cd inc-latest-$pkgver + make install DESTDIR="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-io-captureoutput/PKGBUILD b/abs/core/perl_modules/perl-io-captureoutput/PKGBUILD new file mode 100644 index 0000000..b984df5 --- /dev/null +++ b/abs/core/perl_modules/perl-io-captureoutput/PKGBUILD @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Simon Perry <aur [at] sanxion [dot] net> +# Contributor: Anonymous +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname=perl-io-captureoutput +pkgver=1.1104 +pkgrel=3 +pkgdesc="capture STDOUT and STDERR from Perl code, subprocesses or XS" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +url="http://search.cpan.org/dist/IO-CaptureOutput" +source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/IO-CaptureOutput-$pkgver.tar.gz") +sha512sums=('5694635c91e4dd11279c33fb9d58e2eb27014f4ea0a976e62c23505524e3d37264aab6d6b1cfe5d925e123d6aa240e574dbc4f489c6c1007da09631368af94f5') + +build() { + cd IO-CaptureOutput-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd IO-CaptureOutput-$pkgver + make test +} + +package() { + cd IO-CaptureOutput-$pkgver + make install DESTDIR="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-io-html/PKGBUILD b/abs/core/perl_modules/perl-io-html/PKGBUILD new file mode 100644 index 0000000..7a86226 --- /dev/null +++ b/abs/core/perl_modules/perl-io-html/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=perl-io-html +pkgver=1.001 +pkgrel=3 +pkgdesc="Open an HTML file with automatic charset detection" +arch=('any') +url='http://search.cpan.org/dist/IO-HTML' +depends=('perl') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/IO-HTML-$pkgver.tar.gz) +sha1sums=('210b60f438502744c9c31a82329b19a6f9aecf63') + +build() { + export PERL_MM_USE_DEFAULT=1 PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" + cd IO-HTML-$pkgver + perl Makefile.PL + make +} + +check() { + cd IO-HTML-$pkgver + make test +} + +package() { + cd IO-HTML-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/abs/core/perl_modules/perl-io-socket-inet6/PKGBUILD b/abs/core/perl_modules/perl-io-socket-inet6/PKGBUILD index 53dfb18..a51e163 100644 --- a/abs/core/perl_modules/perl-io-socket-inet6/PKGBUILD +++ b/abs/core/perl_modules/perl-io-socket-inet6/PKGBUILD @@ -2,8 +2,8 @@ # Generator : CPANPLUS::Dist::Arch 1.18 pkgname='perl-io-socket-inet6' -pkgver=2.69 -pkgrel=1 +pkgver=2.72 +pkgrel=3 pkgdesc="Object interface for AF_INET|AF_INET6 domain sockets" arch=('any') license=('PerlArtistic' 'GPL') @@ -12,15 +12,15 @@ depends=('perl-socket6>=0.12') makedepends=() url='http://search.cpan.org/dist/IO-Socket-INET6' source=("http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-$pkgver.tar.gz") -md5sums=('12a80a5164a775294a9bf9c812fc3257') -sha512sums=('be3398a64daafa0e90e6c66c6a51b94b4063f7fb6527fbb300f5ccd100770929b69b8472602117988cf0b452e4cfb857527861c272c8c0038b3e3efffac77cde') -_distdir="${srcdir}/IO-Socket-INET6-$pkgver" +md5sums=('510ddc1bd75a8340ca7226123fb545c1') +sha512sums=('c6dc0bbcc81682d317597de26d5023de84781e4bd2af224145cc4980db7fcbc93295a7d0a80c1eaa649c6aebf4057d0b0159f47e6a6379d4b545b49305f28a37') +_distdir="IO-Socket-INET6-$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'" \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null cd "$_distdir" @@ -38,7 +38,7 @@ check() { package() { cd "$_distdir" - make install + make DESTDIR="$pkgdir" install find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } diff --git a/abs/core/perl_modules/perl-io-socket-multicast/PKGBUILD b/abs/core/perl_modules/perl-io-socket-multicast/PKGBUILD index 5bf7764..588e565 100644 --- a/abs/core/perl_modules/perl-io-socket-multicast/PKGBUILD +++ b/abs/core/perl_modules/perl-io-socket-multicast/PKGBUILD @@ -1,6 +1,6 @@ pkgname=perl-io-socket-multicast pkgver=1.12 -pkgrel=2 +pkgrel=3 pkgdesc="IO::Socket::Multicast - Object interface to socket communications for perl" arch=('any') license=('PerlArtistic' 'GPL') diff --git a/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD b/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD index e144c03..dbdd4f8 100644 --- a/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD +++ b/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD @@ -1,33 +1,31 @@ -# $Id: PKGBUILD 163575 2012-07-16 03:26:30Z eric $ -# Maintainer: Kevin Piche <kevin@archlinux.org> -# Contributor: Manolis Tzanidakis -# Contributor: Francois Charette <francois.archlinux.org> +# $Id$ +# Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=perl-io-socket-ssl -_cpanname=IO-Socket-SSL -pkgver=1.76 +pkgver=2.056 pkgrel=1 pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET" arch=('any') license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_cpanname}/" -depends=('perl-net-ssleay' 'perl>=5.10.0') +url="http://search.cpan.org/dist/IO-Socket-SSL/" +depends=('perl-net-ssleay' 'perl' 'perl-uri') +checkdepends=('perl-io-socket-inet6') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/S/SU/SULLR/${_cpanname}-${pkgver}.tar.gz) -sha1sums=('b27cfff3b5cf03f223431317abda03d44d1a902d') +source=(http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-${pkgver}.tar.gz) +sha1sums=('281b20a3b50294b4362a7a7b9c631dc5a0d04b4c') build() { - cd "${srcdir}/${_cpanname}-${pkgver}" - perl Makefile.PL INSTALLDIRS=vendor + cd IO-Socket-SSL-${pkgver} + yes | perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_cpanname}-${pkgver}" + cd IO-Socket-SSL-${pkgver} make test } package() { - cd "${srcdir}/${_cpanname}-${pkgver}" - make install DESTDIR="${pkgdir}" + cd IO-Socket-SSL-${pkgver} + make DESTDIR="${pkgdir}" install } diff --git a/abs/core/perl_modules/perl-io-tee/PKGBUILD b/abs/core/perl_modules/perl-io-tee/PKGBUILD new file mode 100644 index 0000000..3d2e3d4 --- /dev/null +++ b/abs/core/perl_modules/perl-io-tee/PKGBUILD @@ -0,0 +1,26 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-io-tee +pkgver=0.64 +pkgrel=7 +pkgdesc="Perl/CPAN Module IO::Tee : Multiplex output to multiple handles" +arch=("any") +url="http://search.cpan.org/dist/IO-Tee" +license=("GPL" "PerlArtistic") +source=("https://www.cpan.org/authors/id/K/KE/KENSHAN/IO-Tee-$pkgver.tar.gz") +sha256sums=('3ed276b1c2d3511338653c2532e73753d284943c1a8f5159ff37fecc2b345ed6') + +build() { + cd "$srcdir"/IO-Tee-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/IO-Tee-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-io-tty/PKGBUILD b/abs/core/perl_modules/perl-io-tty/PKGBUILD index 540af17..0812643 100644 --- a/abs/core/perl_modules/perl-io-tty/PKGBUILD +++ b/abs/core/perl_modules/perl-io-tty/PKGBUILD @@ -1,27 +1,34 @@ -# $Id: PKGBUILD 71803 2012-06-02 10:31:14Z bluewind $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Charles Mauch <cmauch@gmail.com> pkgname=perl-io-tty -pkgver=1.10 -pkgrel=2 +pkgver=1.12 +pkgrel=6 pkgdesc="Provide an interface to TTYs and PTYs" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/IO-Tty/" license=("GPL" "PerlArtistic") depends=('glibc') options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IO-Tty-$pkgver.tar.gz") -md5sums=('46baec86a145e57f0ec661fa412b097c') +md5sums=('11695a1a516b3bd1b90ce75ff0ce3e6d') build() { - cd $srcdir/IO-Tty-$pkgver + cd "$srcdir"/IO-Tty-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } -package(){ - cd $srcdir/IO-Tty-$pkgver - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +package() { + cd "$srcdir"/IO-Tty-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-ipc-run3/PKGBUILD b/abs/core/perl_modules/perl-ipc-run3/PKGBUILD new file mode 100644 index 0000000..e5d240e --- /dev/null +++ b/abs/core/perl_modules/perl-ipc-run3/PKGBUILD @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <remy@archlinux.org> +# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.27 + +pkgname='perl-ipc-run3' +_dist=IPC-Run3 +pkgver=0.048 +pkgrel=4 +pkgdesc="run a subprocess with input/ouput redirection" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/IPC-Run3' +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_dist}-${pkgver}.tar.gz") +md5sums=('5a8cec571c51a118b265cf6e24e55761') +sha512sums=('50432850d8dccd2e59aa6684d34f3e3242fd7df3eb4d9a5eb02dae389aa46b5fd68cc54114a157c3fe99956e68e74d575ab3db5009b7bf7d5c325f1f109b1262') + +build() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + perl Makefile.PL + make +} + +check() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} + diff --git a/abs/core/perl_modules/perl-ipc-system-simple/PKGBUILD b/abs/core/perl_modules/perl-ipc-system-simple/PKGBUILD index 80143e2..f970139 100644 --- a/abs/core/perl_modules/perl-ipc-system-simple/PKGBUILD +++ b/abs/core/perl_modules/perl-ipc-system-simple/PKGBUILD @@ -1,27 +1,31 @@ -# $Id: PKGBUILD 150564 2012-02-18 14:45:45Z pierre $ +# $Id$ # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> # Contributor: Caleb Cushing <xenoterracide@gmail.com> pkgname=perl-ipc-system-simple -_realname=IPC-System-Simple -pkgver=1.21 -pkgrel=2 +pkgver=1.25 +pkgrel=3 pkgdesc="Run commands simply, with detailed diagnostics" arch=('any') +url="http://search.cpan.org/dist/IPC-System-Simple" license=('PerlArtistic' 'GPL') depends=('perl') -url="http://search.cpan.org/dist/IPC-System-Simple" options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/$_realname-$pkgver.tar.gz") -md5sums=('8215b62fe1b8447b99e17861e2255288') +source=("http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/IPC-System-Simple-$pkgver.tar.gz") +md5sums=('fb49e674e1d52e8e5646d08507d7fda5') build() { - cd "$srcdir/$_realname-$pkgver" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd IPC-System-Simple-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd IPC-System-Simple-$pkgver + make test +} + package() { - cd "$srcdir/$_realname-$pkgver" + cd IPC-System-Simple-$pkgver make DESTDIR="$pkgdir" install } diff --git a/abs/core/perl_modules/perl-json/PKGBUILD b/abs/core/perl_modules/perl-json/PKGBUILD index fa245f6..426bc3d 100644 --- a/abs/core/perl_modules/perl-json/PKGBUILD +++ b/abs/core/perl_modules/perl-json/PKGBUILD @@ -1,28 +1,28 @@ -# $Id: PKGBUILD 65872 2012-02-22 13:12:45Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-json -pkgver=2.53 -pkgrel=2 +pkgver=2.97001 +pkgrel=1 pkgdesc="JSON (JavaScript Object Notation) encoder/decoder" arch=('any') url="http://search.cpan.org/dist/JSON" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-$pkgver.tar.gz) -md5sums=('7db1be00d44414c4962eeac222395a76') +source=(http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/JSON-$pkgver.tar.gz) +sha256sums=('e277d9385633574923f48c297e1b8acad3170c69fa590e31fa466040fc6f8f5a') build() { - cd $srcdir/JSON-$pkgver + cd "$srcdir"/JSON-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd $srcdir/JSON-$pkgver - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + cd "$srcdir"/JSON-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-libwww/PKGBUILD b/abs/core/perl_modules/perl-libwww/PKGBUILD index 8aec958..e5a1593 100644 --- a/abs/core/perl_modules/perl-libwww/PKGBUILD +++ b/abs/core/perl_modules/perl-libwww/PKGBUILD @@ -1,53 +1,36 @@ -# Packager: Justin "juster" Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 150749 2012-02-21 19:40:54Z juster $ +# $Id$ +# Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=perl-libwww -pkgver=6.04 +pkgver=6.33 pkgrel=1 pkgdesc="The World-Wide Web library for Perl" -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -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') +arch=('any') +url="https://metacpan.org/release/libwww-perl" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-encode-locale' 'perl-file-listing' + 'perl-html-parser' 'perl-http-cookies' 'perl-http-daemon' + 'perl-http-date' 'perl-http-negotiate' 'perl-lwp-mediatypes' + 'perl-net-http' 'perl-uri' 'perl-www-robotrules' + 'perl-http-message' 'perl-try-tiny') 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}" +checkdepends=('perl-test-fatal' 'perl-test-requiresinternet') +options=('!emptydirs') +source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-${pkgver}.tar.gz) +sha1sums=('915f4afeb91269aea3476e408a3af7904c5361e4') -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 -) +build() { + cd libwww-perl-${pkgver} + perl Makefile.PL --aliases INSTALLDIRS=vendor + make +} -check() -( - export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test -) +check() { + cd libwww-perl-${pkgver} + make test +} package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd libwww-perl-${pkgver} + 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-lingua-en-numbers-ordinate/PKGBUILD b/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD index fb62569..5ba0610 100644 --- a/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD +++ b/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD @@ -1,25 +1,29 @@ -# $Id: PKGBUILD 65879 2012-02-22 13:16:53Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Allan McRae <mcrae_allan@hotmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-lingua-en-numbers-ordinate -pkgver=1.02 -pkgrel=4 +pkgver=1.04 +pkgrel=2 pkgdesc="Go from cardinal (53) to ordinal (53rd)" 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) -md5sums=('e92078fafd9108a137972c4e9bae9e99') +source=(http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Lingua-EN-Numbers-Ordinate-$pkgver.tar.gz) +md5sums=('8d98839010f7f5cb3b2f593d2e00b505') build() { - cd $srcdir/Lingua-EN-Numbers-Ordinate-$pkgver + 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 +} + +package() { + cd "$srcdir"/Lingua-EN-Numbers-Ordinate-$pkgver + 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 fa99326..1b450ba 100644 --- a/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD +++ b/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD @@ -1,25 +1,29 @@ -# $Id: PKGBUILD 65881 2012-02-22 13:17:22Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Allan McRae <mcrae_allan@hotmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-lingua-preferred pkgver=0.2.4 -pkgrel=4 +pkgrel=6 pkgdesc="Pick a language based on user's preferences" 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) -md5sums=('37e883fafb05b1439de1121f41e8ad75') +source=(https://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz) +sha256sums=('fa58c4fac6b676f78caad6b472a785dd0c8fa67004a62294fbcfa3a3eb243c83') build() { - cd $srcdir/Lingua-Preferred-$pkgver + 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 +} + +package() { + cd "$srcdir"/Lingua-Preferred-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-list-allutils/PKGBUILD b/abs/core/perl_modules/perl-list-allutils/PKGBUILD new file mode 100644 index 0000000..2a14d9d --- /dev/null +++ b/abs/core/perl_modules/perl-list-allutils/PKGBUILD @@ -0,0 +1,39 @@ +# CPAN Name : List::AllUtils +# Contributor: Anton Leontiev <bunder /at/ t-25.ru> +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname=perl-list-allutils +pkgver=0.14 +pkgrel=4 +pkgdesc='Perl package that combines List::Util and List::MoreUtils in one bite-sized package' +arch=('any') +url='http://search.cpan.org/dist/List-AllUtils' +license=('Artistic2.0') +depends=('perl>=5.19.3' 'perl-list-moreutils>=0.28' 'perl-scalar-list-utils>=1.45' + 'perl-list-someutils' 'perl-list-utilsby') +checkdepends=('perl-test-warnings') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-$pkgver.tar.gz) +options=(!emptydirs) +sha256sums=('e45aa65927ae1975a000cc2fed14274627fa5e2bd09bab826a5f2c41d17ef6cd') + +build() { + cd List-AllUtils-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd List-AllUtils-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd List-AllUtils-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-list-compare/PKGBUILD b/abs/core/perl_modules/perl-list-compare/PKGBUILD index 7480b98..66d3162 100644 --- a/abs/core/perl_modules/perl-list-compare/PKGBUILD +++ b/abs/core/perl_modules/perl-list-compare/PKGBUILD @@ -1,26 +1,33 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Cecil H. Watson <knoppmyth@gmail.com> +# Maintainer: Simon Perry <aur [at] sanxion [dot] net> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> pkgname=perl-list-compare -_realname=List-Compare -pkgver=0.37 +_pkgname=List-Compare +pkgver=0.53 pkgrel=2 -pkgdesc="List::Compare - Compare elements of two or more lists" -arch=(i686 x86_64) -license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perlxml' 'perl>=5.10.0') -groups=('shepherd-dep') +pkgdesc="Compare elements of two or more lists" +arch=('any') +url="http://search.cpan.org/~JKEENAN/List-Compare/" +license=('GPL' 'PerlArtistic') +makedepends=('perl-io-captureoutput') +depends=('perl') options=('!emptydirs') -source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/J/JK/JKEENAN/${_realname}-${pkgver}.tar.gz) -md5sums=('7c730dd58cc31a5bbb8eb7006edd1704') +source=(http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/${_pkgname}-$pkgver.tar.gz) +sha256sums=('fdbf4ff67b3135d44475fef7fcac0cd4706407d5720d26dca914860eb10f8550') build() { - cd ${startdir}/src/${_realname}-${pkgver} - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + cd $srcdir/${_pkgname}-$pkgver - find ${startdir}/pkg -name '.packlist' -delete - find ${startdir}/pkg -name 'perllocal.pod' -delete + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make } + +package() { + cd $srcdir/${_pkgname}-$pkgver + + make DESTDIR=${pkgdir} install + + find $pkgdir -name perllocal.pod -delete + find $pkgdir -name .packlist -delete +} + diff --git a/abs/core/perl_modules/perl-list-moreutils-xs/PKGBUILD b/abs/core/perl_modules/perl-list-moreutils-xs/PKGBUILD new file mode 100644 index 0000000..4256815 --- /dev/null +++ b/abs/core/perl_modules/perl-list-moreutils-xs/PKGBUILD @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Justin "juster" Davis <jrcd83@gmail.com> +# Generator : pbjam 0.01 + +pkgname=perl-list-moreutils-xs +pkgver=0.428 +pkgrel=1 +pkgdesc="Provide the stuff missing in List::Util" +url='http://search.cpan.org/dist/List-MoreUtils-XS' +arch=('x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +source=("http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/List-MoreUtils-XS-${pkgver}.tar.gz") +sha512sums=('a608568e3c4a2e160e4f9afa26640be5b97ec83e301a6b81849e37951698b9423c0a969d7e8797a49b4fb6c5123780630a3726c64713922b90b21b947682c3dd') + +build() { + cd "${srcdir}/List-MoreUtils-XS-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/List-MoreUtils-XS-${pkgver}" + make test +} + +package() { + cd "${srcdir}/List-MoreUtils-XS-${pkgver}" + make DESTDIR="$pkgdir" install + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} + +# 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-list-moreutils/PKGBUILD b/abs/core/perl_modules/perl-list-moreutils/PKGBUILD index a7d80bb..5dc037d 100644 --- a/abs/core/perl_modules/perl-list-moreutils/PKGBUILD +++ b/abs/core/perl_modules/perl-list-moreutils/PKGBUILD @@ -1,22 +1,46 @@ -# Maintainer: François Charette <firmicus ατ gmx δοτ net> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Justin "juster" Davis <jrcd83@gmail.com> +# Generator : pbjam 0.01 pkgname=perl-list-moreutils -pkgver=0.22 +pkgver=0.428 pkgrel=1 pkgdesc="Provide the stuff missing in List::Util" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~VPARSEVAL/List-MoreUtils" -license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +arch=('any') +license=('PerlArtistic' 'GPL') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/V/VP/VPARSEVAL/List-MoreUtils-$pkgver.tar.gz) -md5sums=('3a6ec506f40662ab1296c48c5eb72016') +depends=('perl-exporter-tiny' 'perl-list-moreutils-xs') +url=http://search.cpan.org/dist/List-MoreUtils +source=("http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/List-MoreUtils-${pkgver}.tar.gz") +sha512sums=('f7e11f10f1d7bd3b8f9f8bc2fc325e1a9230056f68591da624aed01fb4e4cbac20caeae0c3e2aa3acc8b71febd6d4149284367f051d3c1e608e3a4ca8b62dbd8') build() { - cd $startdir/src/List-MoreUtils-$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}/List-MoreUtils-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make } + +check() { + cd "${srcdir}/List-MoreUtils-${pkgver}" + make test +} + +package() { + cd "${srcdir}/List-MoreUtils-${pkgver}" + make DESTDIR="$pkgdir" install + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} + +# 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-list-someutils/PKGBUILD b/abs/core/perl_modules/perl-list-someutils/PKGBUILD new file mode 100644 index 0000000..e40fca7 --- /dev/null +++ b/abs/core/perl_modules/perl-list-someutils/PKGBUILD @@ -0,0 +1,38 @@ +# CPAN Name : List::AllUtils +# Contributor: Anton Leontiev <bunder /at/ t-25.ru> +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname=perl-list-someutils +pkgver=0.56 +pkgrel=1 +pkgdesc='Perl package that combines List::Util and List::MoreUtils in one bite-sized package' +arch=('any') +url='http://search.cpan.org/dist/List-SomeUtils' +license=('Artistic2.0') +depends=('perl' 'perl-module-implementation') +checkdepends=('perl-test-warnings') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-SomeUtils-$pkgver.tar.gz) +options=(!emptydirs) +sha256sums=('eaa7d99ce86380c0389876474c8eb84acc0a6bfeef1b0fc23a292592de6f89f7') + +build() { + cd List-SomeUtils-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd List-SomeUtils-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd List-SomeUtils-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-list-utilsby/PKGBUILD b/abs/core/perl_modules/perl-list-utilsby/PKGBUILD new file mode 100644 index 0000000..74c937d --- /dev/null +++ b/abs/core/perl_modules/perl-list-utilsby/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com> + +pkgname=perl-list-utilsby +_cpanname="List-UtilsBy" +pkgver=0.11 +pkgrel=1 +pkgdesc="Higher-order list utility functions" +arch=('any') +url="http://search.cpan.org/~pevans/$_cpanname" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.5.0') +options=('!emptydirs') +# Function to change to the working directory and set +# environment variables to override undesired options. +prepareEnvironment() { + cd "$srcdir/$_cpanname-$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 +} +source=("http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_cpanname-$pkgver.tar.gz") +sha256sums=('faddf43b4bc21db8e4c0e89a26e5f23fe626cde3491ec651b6aa338627f5775a') + +build() { + prepareEnvironment + /usr/bin/perl Makefile.PL + make +} + +check() { + prepareEnvironment + make test +} + +package() { + prepareEnvironment + make install + + # Remove "perllocal.pod" and ".packlist". + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-locale-gettext/PKGBUILD b/abs/core/perl_modules/perl-locale-gettext/PKGBUILD index e2bb2e3..22fede7 100644 --- a/abs/core/perl_modules/perl-locale-gettext/PKGBUILD +++ b/abs/core/perl_modules/perl-locale-gettext/PKGBUILD @@ -1,27 +1,24 @@ -# $Id: PKGBUILD 160541 2012-06-02 10:27:56Z bluewind $ +# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Mark Rosenstand <mark@borkware.net> # Contributor: Paul Mattal <paul@archlinux.org> pkgname=perl-locale-gettext -_realname=gettext -pkgver=1.05 -pkgrel=9 +_realname=Locale-gettext +pkgver=1.07 +pkgrel=5 pkgdesc="Permits access from Perl to the gettext() family of functions" -arch=('i686' 'x86_64') +arch=('x86_64') license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" depends=('gettext' 'perl') options=(!emptydirs) -source=("http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz" - 'compatibility-with-POSIX-module.patch') -md5sums=('f3d3f474a1458f37174c410dfef61a46' - '854302f34d01a2f8ae739187788973dd') +source=("http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz") +md5sums=('bc652758af65c24500f1d06a77415019') build() { 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 make @@ -40,4 +37,12 @@ package() { # remove perllocal.pod and .packlist find "${pkgdir}" -name perllocal.pod -delete find "${pkgdir}" -name .packlist -delete + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } 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 deleted file mode 100644 index ad67551..0000000 --- a/abs/core/perl_modules/perl-locale-gettext/compatibility-with-POSIX-module.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- 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-locale-maketext-lexicon/PKGBUILD b/abs/core/perl_modules/perl-locale-maketext-lexicon/PKGBUILD index 9011337..65bbe42 100644 --- a/abs/core/perl_modules/perl-locale-maketext-lexicon/PKGBUILD +++ b/abs/core/perl_modules/perl-locale-maketext-lexicon/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 56446 2011-10-07 10:01:16Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Charles Mauch <cmauch@gmail.com> pkgname=perl-locale-maketext-lexicon -pkgver=0.91 -pkgrel=1 +pkgver=1.00 +pkgrel=2 pkgdesc="Perl/CPAN Module Locale::Maketext::Lexicon : Use other catalog formats in Maketext" arch=(any) depends=(perl) @@ -12,17 +12,17 @@ url="http://search.cpan.org/dist/Locale-Maketext-Lexicon" license=("GPL" "PerlArtistic") options=(!emptydirs) source=("http://search.cpan.org/CPAN/authors/id/D/DR/DRTECH/Locale-Maketext-Lexicon-$pkgver.tar.gz") -md5sums=('ead74d03d40c72cd52d4d70771bbd122') +md5sums=('51acf0cb00cc01a2c8f560d74dd6c593') build() { - cd $srcdir/Locale-Maketext-Lexicon-$pkgver + cd "$srcdir"/Locale-Maketext-Lexicon-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd $srcdir/Locale-Maketext-Lexicon-$pkgver - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + cd "$srcdir"/Locale-Maketext-Lexicon-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-log-dispatch/PKGBUILD b/abs/core/perl_modules/perl-log-dispatch/PKGBUILD index bd2aaaf..a55fa02 100644 --- a/abs/core/perl_modules/perl-log-dispatch/PKGBUILD +++ b/abs/core/perl_modules/perl-log-dispatch/PKGBUILD @@ -1,23 +1,53 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Contributor: xduugu +# Maintainer: Brian Bidulock <bidulock@Openss7.org> +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 -pkgname=perl-log-dispatch -pkgver=2.32 -pkgrel=1 -pkgdesc="Log messages to multiple outputs" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~DROLSKY/Log-Dispatch" -license=('GPL' 'PerlArtistic') -depends=('perl-params-validate>=0.15') +pkgname='perl-log-dispatch' +pkgver='2.67' +pkgrel='1' +pkgdesc="Dispatches messages to one or more outputs" +arch=('any') +license=('PerlArtistic' 'GPL') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/Log-Dispatch-$pkgver.tar.gz) +depends=('perl-devel-globaldestruction' 'perl-dist-checkconflicts>=0.02' 'perl-ipc-run3' 'perl-module-runtime' 'perl-params-validate>=1.03' 'perl>=5.006') +makedepends=() +checkdepends=('perl-test-fatal' 'perl-test-needs' 'perl-specio' 'perl-namespace-autoclean' + 'perl-eval-closure' 'perl-params-validationcompiler') +url='https://metacpan.org/release/Log-Dispatch' +source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Log-Dispatch-${pkgver}.tar.gz") +md5sums=('d68e256e80ca4e1482b86abf6bcee552') +sha512sums=('ab03777800fa758a502e69b25669c3e4ae851d9dcf5f2f4d1a21a94cc61aca866ac361d2a5db3d22d19cb4d11da29ecec19935e29fcad40bb831fb27175846d6') +_distdir="Log-Dispatch-${pkgver}" build() { - cd $startdir/src/Log-Dispatch-$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 + ( 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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) } -md5sums=('4bcb3b0678e327d13f3aec7a8d4915af') + +package() { + cd "$srcdir/$_distdir" + make 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-lwp-mediatypes/PKGBUILD b/abs/core/perl_modules/perl-lwp-mediatypes/PKGBUILD index 625b2bd..f985f72 100644 --- a/abs/core/perl_modules/perl-lwp-mediatypes/PKGBUILD +++ b/abs/core/perl_modules/perl-lwp-mediatypes/PKGBUILD @@ -1,49 +1,30 @@ -# Packager: Justin "juster" Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 150744 2012-02-21 19:28:44Z juster $ +# $Id$ +# Maintainer: Eric Bélanger <eric@archlinux.org> 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}" +pkgrel=4 +pkgdesc="Guess the media type of a file or a URL" +arch=('any') +url="https://metacpan.org/release/LWP-MediaTypes" +depends=('perl') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/LWP-MediaTypes-${pkgver}.tar.gz) +sha1sums=('f56891f4e718a5f1f16f09ae37d32e454095cbed') -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 -) +build() { + cd "${srcdir}/LWP-MediaTypes-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} -check() -( - export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test -) +check() { + cd "${srcdir}/LWP-MediaTypes-${pkgver}" + make test +} package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd "${srcdir}/LWP-MediaTypes-${pkgver}" + 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-lwp-protocol-https/PKGBUILD b/abs/core/perl_modules/perl-lwp-protocol-https/PKGBUILD new file mode 100644 index 0000000..ac3518e --- /dev/null +++ b/abs/core/perl_modules/perl-lwp-protocol-https/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=perl-lwp-protocol-https +pkgver=6.07 +pkgrel=2 +pkgdesc="Provide https support for LWP::UserAgent" +arch=('any') +url="https://metacpan.org/release/LWP-Protocol-https" +license=('PerlArtistic' 'GPL') +depends=('ca-certificates' 'perl-io-socket-ssl' 'perl-net-http' 'perl-libwww') +checkdepends=('perl-test-requiresinternet') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-$pkgver.tar.gz" + certs.patch) +sha512sums=('4a07cd8a1c44e31781069a632a77f3af43747933420e831b4fd4a12faac7dc04f0c6b10ea773c3e14ecb66209a547b3587c0e3f481a55b9929db65f7b10343aa' + '7ee0ad7c40f526fb3ba1148f13f2601c11fe68c72b4aaf22b628709c2877b7d49ee6dc1c722bb091b97251d76fceec4a9b39dcf3778d7f19b79fdd8c5754a444') + +prepare() { + cd LWP-Protocol-https-${pkgver} + patch -p1 -i ../certs.patch +} + +build() { + cd LWP-Protocol-https-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd LWP-Protocol-https-${pkgver} + make test +} + +package() { + cd LWP-Protocol-https-${pkgver} + make DESTDIR="$pkgdir" install +} diff --git a/abs/core/perl_modules/perl-lwp-protocol-https/certs.patch b/abs/core/perl_modules/perl-lwp-protocol-https/certs.patch new file mode 100644 index 0000000..a2edc40 --- /dev/null +++ b/abs/core/perl_modules/perl-lwp-protocol-https/certs.patch @@ -0,0 +1,43 @@ +diff --git a/Makefile.PL.orig b/Makefile.PL +index fc8ef4a..26313e2 100644 +--- a/Makefile.PL.orig ++++ b/Makefile.PL +@@ -26,7 +26,6 @@ my %WriteMakefileArgs = ( + 'LWP::UserAgent' => '6.06', + 'Net::HTTPS' => 6, + 'IO::Socket::SSL' => "1.54", +- 'Mozilla::CA' => "20110101", + 'perl' => '5.008001', + }, + }, +diff --git a/lib/LWP/Protocol/https.pm.orig b/lib/LWP/Protocol/https.pm +index ed4d832..b8667cf 100644 +--- a/lib/LWP/Protocol/https.pm.orig ++++ b/lib/LWP/Protocol/https.pm +@@ -25,25 +25,7 @@ sub _extra_sock_opts + } + if ($ssl_opts{SSL_verify_mode}) { + unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) { +- eval { +- require Mozilla::CA; +- }; +- if ($@) { +- if ($@ =~ /^Can't locate Mozilla\/CA\.pm/) { +- $@ = <<'EOT'; +-Can't verify SSL peers without knowing which Certificate Authorities to trust +- +-This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE +-environment variable or by installing the Mozilla::CA module. +- +-To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME +-environment variable to 0. If you do this you can't be sure that you +-communicate with the expected peer. +-EOT +- } +- die $@; +- } +- $ssl_opts{SSL_ca_file} = Mozilla::CA::SSL_ca_file(); ++ $ssl_opts{SSL_ca_file} = '/etc/ssl/certs/ca-certificates.crt'; + } + } + $self->{ssl_opts} = \%ssl_opts; diff --git a/abs/core/perl_modules/perl-lwp-useragent-determined/PKGBUILD b/abs/core/perl_modules/perl-lwp-useragent-determined/PKGBUILD new file mode 100644 index 0000000..ced3aec --- /dev/null +++ b/abs/core/perl_modules/perl-lwp-useragent-determined/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname='perl-lwp-useragent-determined' +pkgver='1.06' +pkgrel='1' +pkgdesc="a virtual browser that retries errors" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-libwww') +makedepends=() +url='http://search.cpan.org/dist/LWP-UserAgent-Determined' +source=('http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/LWP-UserAgent-Determined-1.06.tar.gz') +md5sums=('3485fe63fba0b3f7d23370f5a31496dc') +sha512sums=('05c85e923b7e2a643455242da2785743be6a1889200a1a922e81fd882943ad136cd4050d96e24af1b60000e264272e5b1fd04e95e8113923f412494adceb4f66') +_distdir="LWP-UserAgent-Determined-1.06" + +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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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 117352a..cb7d453 100644 --- a/abs/core/perl_modules/perl-mailtools/PKGBUILD +++ b/abs/core/perl_modules/perl-mailtools/PKGBUILD @@ -1,28 +1,30 @@ -# $Id: PKGBUILD 140680 2011-10-18 03:11:21Z eric $ -# Maintainer: Kevin Piche <kevin@archlinux.org> -# Contributor: Eric Johnson <eric@coding-zone.com> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-mailtools -_realname=MailTools -pkgver=2.08 +pkgver=2.20 pkgrel=1 -pkgdesc="Perl module that provides email tools" +pkgdesc="Various e-mail related modules" arch=('any') -url="http://search.cpan.org/dist/${_realname}/" -license=('PerlArtistic') -depends=('perl>=5.10.0') +url="https://metacpan.org/release/MailTools" +license=('PerlArtistic' 'GPL') +depends=('perl-timedate') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/${_realname}-${pkgver}.tar.gz) -md5sums=('0245bf7985c6661e0cf31a59657a18f0') +source=("http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-$pkgver.tar.gz") +sha512sums=('fb9a330c5b5795d68fc0e5bb6c5f1d7d525e8e1e87996f6fac7120e46bc22897c9f0c23f121866cb10d7ce4ffd9ac979b31602dbec379a8d15e8257a2c725a5e') build() { - cd "${srcdir}/${_realname}-${pkgver}" - # install module in vendor directories. + cd MailTools-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd MailTools-$pkgver + make test +} + package() { - cd "${srcdir}/${_realname}-${pkgver}" - make install DESTDIR="${pkgdir}" + cd MailTools-$pkgver + make DESTDIR="$pkgdir" install } diff --git a/abs/core/perl_modules/perl-math-round/PKGBUILD b/abs/core/perl_modules/perl-math-round/PKGBUILD index 2881d28..dfd08b5 100644 --- a/abs/core/perl_modules/perl-math-round/PKGBUILD +++ b/abs/core/perl_modules/perl-math-round/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 143938 2011-11-30 21:38:22Z giovanni $ +# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-math-round -pkgver=0.06 -pkgrel=5 +pkgver=0.07 +pkgrel=2 pkgdesc="Perl extension for rounding numbers" arch=('any') url="http://search.cpan.org/dist/Math-Round" @@ -12,7 +12,7 @@ license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') source=("http://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Round-$pkgver.tar.gz") -md5sums=('552cef2753b246f97a6e20d8dee66e7c') +md5sums=('b74c5d2a3f891c19dafd7ce638732fd1') build() { cd "${srcdir}/Math-Round-${pkgver}" diff --git a/abs/core/perl_modules/perl-mime-charset/PKGBUILD b/abs/core/perl_modules/perl-mime-charset/PKGBUILD new file mode 100644 index 0000000..ccbf46a --- /dev/null +++ b/abs/core/perl_modules/perl-mime-charset/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <remy@archlinux.org> +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-mime-charset' +_dist="MIME-Charset" +pkgver='1.012.2' +pkgrel=4 +pkgdesc="Charset Information for MIME" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +checkdepends=('perl-test-pod') +url='https://metacpan.org/release/MIME-Charset' +source=("http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/${_dist}-${pkgver}.tar.gz") +md5sums=('71440416376248c31aa3bef753fae28d') +sha512sums=('2273bf0b86eb042e5aa8bcf958eefefde7dce6701eea5ae8c0fe9997e7d3e90d837a7791ade30f84536a15116175c796daee60da6625f409d214844dfedfde4d') + +build() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + perl Makefile.PL + make +} + +check() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-mime-lite/PKGBUILD b/abs/core/perl_modules/perl-mime-lite/PKGBUILD index c0cfe7f..4685a91 100644 --- a/abs/core/perl_modules/perl-mime-lite/PKGBUILD +++ b/abs/core/perl_modules/perl-mime-lite/PKGBUILD @@ -1,38 +1,31 @@ -# $Id: PKGBUILD 151298 2012-02-25 13:17:16Z pierre $ +# $Id$ # Maintainer: kevin <kevin@archlinux.org> # Contributor: Eric Johnson <eric@coding-zone.com> pkgname=perl-mime-lite -_realname=MIME-Lite -pkgver=3.028 -pkgrel=1 +pkgver=3.030 +pkgrel=3 pkgdesc="Perl module that provides lightweight MIME generator" arch=('any') +url="http://search.cpan.org/dist/MIME-Lite/" license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" 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') +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/MIME-Lite-${pkgver}.tar.gz") +md5sums=('5a6d90329e049eee77248d667343acc7') build() { - cd ${srcdir}/${_realname}-${pkgver} - # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd MIME-Lite-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd ${srcdir}/${_realname}-${pkgver} + cd MIME-Lite-${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 MIME-Lite-${pkgver} + make DESTDIR="${pkgdir}" install } -# vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-mime-tools/PKGBUILD b/abs/core/perl_modules/perl-mime-tools/PKGBUILD index 7ed81bb..d5e74a9 100644 --- a/abs/core/perl_modules/perl-mime-tools/PKGBUILD +++ b/abs/core/perl_modules/perl-mime-tools/PKGBUILD @@ -1,15 +1,17 @@ -# $Id: PKGBUILD 161352 2012-06-10 06:11:24Z giovanni $ -# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# $Id$ +# Maintainer: Thore Bödecker <foxxx0@archlinux.org> +# Conntributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-mime-tools -pkgver=5.503 -pkgrel=1 +pkgver=5.509 +pkgrel=5 pkgdesc="Parses streams to create MIME entities" arch=('any') -url="http://search.cpan.org/dist/MIME-tools" +url="https://metacpan.org/pod/MIME::Tools" license=('GPL' 'PerlArtistic') depends=('perl-mailtools' 'perl-io-stringy' 'perl-convert-binhex') +checkdepends=('perl-test-deep') options=('!emptydirs') 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' @@ -18,8 +20,8 @@ provides=('perl-mime-body=5.428.0' 'perl-mime-decoder' 'perl-mime-decoder-base64 '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') +source=("https://www.cpan.org/authors/id/D/DS/DSKOLL/MIME-tools-${pkgver}.tar.gz") +sha512sums=('0407b09916144eafbee0c75758306e0f44c27db0e8aabf033267f9903f676f0415de99927dcfdb69f9e9d4123d63c280f526dff92e0d97744761c888df90667a') build() { cd "${srcdir}/MIME-tools-${pkgver}" @@ -28,10 +30,15 @@ build() { make } +check() { + cd "${srcdir}/MIME-tools-${pkgver}" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +} + package() { cd "${srcdir}/MIME-tools-${pkgver}" - make install DESTDIR="${pkgdir}" - find ${pkgdir} -name '.packlist' -delete - find ${pkgdir} -name '*.pod' -delete + make install DESTDIR="${pkgdir}" } diff --git a/abs/core/perl_modules/perl-mime-types/PKGBUILD b/abs/core/perl_modules/perl-mime-types/PKGBUILD index b4b4265..361f099 100644 --- a/abs/core/perl_modules/perl-mime-types/PKGBUILD +++ b/abs/core/perl_modules/perl-mime-types/PKGBUILD @@ -1,33 +1,32 @@ -# $Id: PKGBUILD 151300 2012-02-25 13:18:30Z pierre $ -# Maintainer: Jan de Groot +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jan de Groot # Contributor: Charles Mauch <cmauch@gmail.com> pkgname=perl-mime-types -_realname=MIME-Types -pkgver=1.34 +pkgver=2.17 pkgrel=1 pkgdesc="Perl/CPAN Module MIME::Types : Information and processing MIME types" arch=('any') +url="http://search.cpan.org/dist/MIME-Types/" license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" depends=('perl') options=('!emptydirs') -source=("http://www.cpan.org/authors/id/M/MA/MARKOV/${_realname}-${pkgver}.tar.gz") -md5sums=('87c496480e463c0b7792e7f5429e50d1') +source=("http://www.cpan.org/authors/id/M/MA/MARKOV/MIME-Types-${pkgver}.tar.gz") +sha512sums=('a834ddfa70fbaa5688a2a35626c489a48448e273638312609faaa8fbf07ba656254d1f907ba5f25518e93fd62b7b9265eec700c38c8446876dca24e07d8b15c4') build() { - cd "${srcdir}/${_realname}-${pkgver}" - # install module in vendor directories. + cd MIME-Types-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_realname}-${pkgver}" + cd MIME-Types-${pkgver} make test } package() { - cd "${srcdir}/${_realname}-${pkgver}" - make install DESTDIR="${pkgdir}" + cd MIME-Types-${pkgver} + make DESTDIR="${pkgdir}" install } diff --git a/abs/core/perl_modules/perl-module-build/PKGBUILD b/abs/core/perl_modules/perl-module-build/PKGBUILD index 96712a7..25c91a8 100644 --- a/abs/core/perl_modules/perl-module-build/PKGBUILD +++ b/abs/core/perl_modules/perl-module-build/PKGBUILD @@ -1,18 +1,20 @@ -# $Id: PKGBUILD 166452 2012-09-08 01:51:46Z eric $ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> -# Contributor : Alan Young <harleypig@gmail.com> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Alan Young <harleypig@gmail.com> pkgname=perl-module-build -pkgver=0.4003 -pkgrel=1 +pkgver=0.4224 +pkgrel=6 pkgdesc="Build, test, and install Perl modules" arch=('any') +url="http://search.cpan.org/dist/Module-Build" license=('PerlArtistic' 'GPL') -url='http://search.cpan.org/dist/Module-Build' -depends=('perl>=5.6.1') +depends=('perl' 'perl-cpan-meta' 'perl-inc-latest') +checkdepends=('perl-par-dist' 'perl-archive-zip') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-$pkgver.tar.gz) -md5sums=('ed5fe7e023af43b0722639b13ece8d2d') +sha512sums=('c08e84c542a882aa16a682a81cbb7a4860774a3f6a0ec2e720ba9e9bcea76dab331999fee86bf8b92edc08560d7cef4a7c2dfa4e626ab9b22da965e715af531f') build() { cd Module-Build-$pkgver diff --git a/abs/core/perl_modules/perl-module-implementation/PKGBUILD b/abs/core/perl_modules/perl-module-implementation/PKGBUILD index 03b2fa5..d58e8b4 100644 --- a/abs/core/perl_modules/perl-module-implementation/PKGBUILD +++ b/abs/core/perl_modules/perl-module-implementation/PKGBUILD @@ -3,23 +3,23 @@ # Contributor: 3ED <krzysztof1987 at gmail dot com> pkgname=perl-module-implementation -pkgver=0.06 -pkgrel=2 +pkgver=0.09 +pkgrel=3 pkgdesc="Loads one of several alternate underlying implementations for a module" arch=('any') license=('PerlArtistic') options=('!emptydirs') -depends=('perl-module-runtime>=0.012') +depends=('perl-module-runtime>=0.012' 'perl-try-tiny') 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') +md5sums=('52e3fe0ca6b1eff0488d59b7aacc0667') 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'" \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \ + PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \ MODULEBUILDRC=/dev/null perl Makefile.PL make diff --git a/abs/core/perl_modules/perl-module-install/PKGBUILD b/abs/core/perl_modules/perl-module-install/PKGBUILD new file mode 100644 index 0000000..61b0453 --- /dev/null +++ b/abs/core/perl_modules/perl-module-install/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: dracorp aka Piotr Rogoza <piotr.r.public at gmail.com> + +pkgname=perl-module-install +pkgver=1.19 +pkgrel=1 +pkgdesc="Module::Install - Standalone, extensible Perl module installer" +arch=('any') +url='http://search.cpan.org/dist/Module-Install' +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-file-remove' 'perl-json' 'perl-module-build' 'perl-module-scandeps' 'perl-par-dist' + 'perl-cpan-meta' 'perl-yaml-tiny') +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Install-$pkgver.tar.gz") +sha512sums=('68a255402c98955cfcb5a8a99555fe511b89d5fccf96ee1c498cab347c8945f3abe53485ea936f7419420d9c7beb52c861516f4cfd299812cebf80eab50fa5ba') + +build() { + cd Module-Install-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Module-Install-$pkgver + make test +} + +package() { + cd Module-Install-$pkgver + make install DESTDIR="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-module-runtime/PKGBUILD b/abs/core/perl_modules/perl-module-runtime/PKGBUILD index 974f137..bc49dc6 100644 --- a/abs/core/perl_modules/perl-module-runtime/PKGBUILD +++ b/abs/core/perl_modules/perl-module-runtime/PKGBUILD @@ -1,27 +1,27 @@ -# $Id: PKGBUILD 66098 2012-02-23 01:03:59Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-module-runtime -pkgver=0.013 -pkgrel=1 +pkgver=0.014 +pkgrel=4 pkgdesc="runtime module handling" arch=('any') url="http://search.cpan.org/dist/Module-Runtime/" -license=('perl') -depends=('perl-params-classify') +license=('GPL' 'PerlArtistic') +depends=('perl' 'perl-module-build') options=(!emptydirs) source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Module-Runtime-$pkgver.tar.gz") -md5sums=('62b88b1f5f0e975a5d7c80cd46167b97') +md5sums=('a6597bc25536a30476f0d75b64d35734') build() { - cd $srcdir/Module-Runtime-$pkgver + cd "$srcdir"/Module-Runtime-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd $srcdir/Module-Runtime-$pkgver + cd "$srcdir"/Module-Runtime-$pkgver make install DESTDIR="${pkgdir}" - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete } diff --git a/abs/core/perl_modules/perl-module-scandeps/PKGBUILD b/abs/core/perl_modules/perl-module-scandeps/PKGBUILD new file mode 100644 index 0000000..1c193e3 --- /dev/null +++ b/abs/core/perl_modules/perl-module-scandeps/PKGBUILD @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: xRemaLx <anton.komolov@gmail.com> + +pkgname=perl-module-scandeps +_pkgname=Module-ScanDeps +pkgver=1.24 +pkgrel=2 +pkgdesc="Scan file prerequisites" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=('perl-test-requires') +url="http://search.cpan.org/dist/Module-ScanDeps" +source=("http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/Module-ScanDeps-$pkgver.tar.gz") +sha512sums=('7f3d9821aa863d8ebc78fb5fb3c7172ce133169ec54ed91b90e05ba50654b4bd0282b3a760adfc8b6bd553dda4116dbf51972bb2af94b59f6f04daeba996e889') + +build() { + cd Module-ScanDeps-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Module-ScanDeps-$pkgver + make test +} + +package() { + cd Module-ScanDeps-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/abs/core/perl_modules/perl-mro-compat/PKGBUILD b/abs/core/perl_modules/perl-mro-compat/PKGBUILD new file mode 100644 index 0000000..234ef2e --- /dev/null +++ b/abs/core/perl_modules/perl-mro-compat/PKGBUILD @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> +pkgname='perl-mro-compat' +pkgver=0.13 +pkgrel=2 +pkgdesc="mro::* interface compatibility for Perls < 5.9.5" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/MRO-Compat' +source=("http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/MRO-Compat-$pkgver.tar.gz") +sha256sums=('8a2c3b6ccc19328d5579d02a7d91285e2afd85d801f49d423a8eb16f323da4f8') + +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"'" \ + PERL_USE_UNSAFE_INC=1 \ + MODULEBUILDRC=/dev/null + + cd "${srcdir}/MRO-Compat-${pkgver}" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "${srcdir}/MRO-Compat-${pkgver}" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "${srcdir}/MRO-Compat-${pkgver}" + make 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-namespace-autoclean/PKGBUILD b/abs/core/perl_modules/perl-namespace-autoclean/PKGBUILD new file mode 100644 index 0000000..6ec5550 --- /dev/null +++ b/abs/core/perl_modules/perl-namespace-autoclean/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname=perl-namespace-autoclean +pkgver=0.28 +pkgrel=3 +pkgdesc="Keep imports out of your namespace" +arch=('any') +license=('PerlArtistic' 'GPL') +url='https://metacpan.org/release/namespace-autoclean' +depends=('perl-b-hooks-endofscope' 'perl-sub-identify' 'perl-namespace-clean') +checkdepends=('perl-test-requires' 'perl-moo' 'perl-sub-name' 'perl-mouse') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/namespace-autoclean-$pkgver.tar.gz") +sha512sums=('2541f69862b334fcfe30059d025668175de1b182a5c8ee8f2619bf1d661c316a38fe2014f274bb23e887cd36959f98abb297154ac8ceb600e2e93cbd4a75e28d') + +build() { + cd "$srcdir"/namespace-autoclean-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir"/namespace-autoclean-$pkgver + make test +} + +package() { + cd "$srcdir"/namespace-autoclean-$pkgver + make DESTDIR="$pkgdir"/ install +} + +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-namespace-clean/PKGBUILD b/abs/core/perl_modules/perl-namespace-clean/PKGBUILD new file mode 100644 index 0000000..2374be3 --- /dev/null +++ b/abs/core/perl_modules/perl-namespace-clean/PKGBUILD @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com> +# Contributor: Justin Davis <jrcd83@gmail.com> + +_cpanname="namespace-clean" +pkgname="perl-$_cpanname" +pkgver=0.27 +pkgrel=3 +pkgdesc="Keep imports and functions out of your namespace" +arch=("any") +license=("PerlArtistic" "GPL") +options=("!emptydirs") +depends=("perl>=5.5.0" "perl-b-hooks-endofscope>=0.12" "perl-package-stash>=0.23") +url="http://search.cpan.org/dist/$_cpanname" +source=("http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/$_cpanname-$pkgver.tar.gz") +sha1sums=('a76713df74b2b865ffed31603e1a1fae544c3026') + +# Function to change to the working directory and set +# environment variables to override undesired options. +prepareEnvironment() { + cd "$srcdir/$_cpanname-$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 +} +sha1sums=('c16ff66b1b4c7e8a507a8c4e4d809d60040e9d33') +sha1sums=('4aa49b40cbcc7f1ee587dc3d5ec337f77c78fc4b') + +build() { + prepareEnvironment + /usr/bin/perl Makefile.PL + make +} + +check() { + prepareEnvironment + make test +} + +package() { + prepareEnvironment + make install + + # Remove "perllocal.pod" and ".packlist". + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-net-http/PKGBUILD b/abs/core/perl_modules/perl-net-http/PKGBUILD index 89eb246..46596c4 100644 --- a/abs/core/perl_modules/perl-net-http/PKGBUILD +++ b/abs/core/perl_modules/perl-net-http/PKGBUILD @@ -1,45 +1,42 @@ -# Packager: Justin "juster" Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 150758 2012-02-21 20:00:38Z juster $ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Justin "juster" Davis <jrcd83@gmail.com> pkgname=perl-net-http -pkgver=6.03 +pkgver=6.18 pkgrel=1 pkgdesc="Low-level HTTP connection (client)" -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=('perl>=5.6.2') +arch=('any') +url=http://search.cpan.org/dist/Net-HTTP +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +checkdepends=('perl-uri') 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}" +source=("http://cpan.metacpan.org/authors/id/O/OA/OALDERS/Net-HTTP-$pkgver.tar.gz") +sha512sums=('89cf197c8717fd368a892b0d37efccb7c2aa46ece7851906282f33aa5a2105809fa0b917c56f94d217731568c20e2ff86eb455607d0bc24eb6d093c3fbab185d') -build() -( +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'" \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null - cd "$_distdir" + cd Net-HTTP-${pkgver} /usr/bin/perl Makefile.PL make -) +} -check() -( +check() { export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" + cd Net-HTTP-${pkgver} make test -) +} package() { - cd "$_distdir" + cd Net-HTTP-${pkgver} make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } # Local Variables: diff --git a/abs/core/perl_modules/perl-net-sftp-foreign/Changes b/abs/core/perl_modules/perl-net-sftp-foreign/Changes index eff2bb0..8012661 100644 --- a/abs/core/perl_modules/perl-net-sftp-foreign/Changes +++ b/abs/core/perl_modules/perl-net-sftp-foreign/Changes @@ -1,5 +1,73 @@ Revision history for Net::SFTP::Foreign +1.77 Nov 5, 2013 + - release as stable + - fix misspellings in error message + +1.76_04 Oct 2, 2013 + - fix 'Use of "goto" to jump into a construct is deprecated' + warning (bug report by Brent Bates) + - don't force permissions from rput when copy_perm is unset + +1.76_03 Aug 26, 2013 + - fix several spelling errors + - add spell checking test + - remove pod test from MANIFEST + - ensure that pty is not destroyed before main object (bug + report by Stephen Wylie) during global destruction + +1.76_02 Apr 29, 2013 + - remove warning happening when best_effort was set, specially + visible from Compat module (bug report by emerlyn at + PerlMonks) + +1.76_01 Apr 26, 2013 + - protect against callbacks setting $\ (bug report by Thomas + Wadley) + +1.75 Apr 2, 2013 + - release as stable + +1.74_07 Mar 21, 2013 + - seek method was returning offset instead of success value + (bug report by Paul Kolano). + +1.74_06 Mar 12, 2013 + - disconnect may kill some unrelated process when called + repeatly (bug report by Douglas Wilson) + - debug was clobbering $! + +1.74_05 Feb 5, 2013 + - error was not being set on timeouts (bug report by Kqfh + Jjgrn) + +1.74_04 Oct 25, 2012 + - overwriting rename of a file over itself was broken (bug + report by Mike Wilder) + - stat and lstat path arguments is now optional and defaults + to '.' (bug report by Paul Kolano) + - fstat was broken + - add git repository and bugtracker into meta files + +1.74_03 Sep 21, 2012 + - put_content was broken (bug report by Caleb Cushing) + - document put_content method + - add more tests + +1.74_02 Jul 11, 2012 + - rget was dieing when trying to copy remote symbolic links + - add support for get method slow-start feature: when file + size is unknown don't start asking for $queue_size packets + as it slows down the transfer of small files, instead, + starting from a queue size of one go gradually increasing it + until the stated maximum is reached (bug report by David + R. Wagner) + - parse supported2 extension + +1.74_01 + - add support for password_prompt (feature request by Douglas + Wilson) + 1.73 May 11, 2012 - password authentication was broken on Solaris (maybe also on others) due to an incorrect waitpid call (bug report and @@ -134,6 +202,7 @@ Revision history for Net::SFTP::Foreign get_symlink options using hashes - remove operation inside put_symlink was clobbering error and status from previous symlink call + - solve several minor bugs related to autodie handling - do not die from inside DESTROY methods when autodie is set - resume feature in get method was broken - refactor numbered logic inside _inc_numbered sub diff --git a/abs/core/perl_modules/perl-net-sftp-foreign/PKGBUILD b/abs/core/perl_modules/perl-net-sftp-foreign/PKGBUILD index 61fb3b8..7fa9937 100644 --- a/abs/core/perl_modules/perl-net-sftp-foreign/PKGBUILD +++ b/abs/core/perl_modules/perl-net-sftp-foreign/PKGBUILD @@ -1,20 +1,22 @@ +# Maintainer: "Jameson Pugh <imntreal@gmail.com>" # Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com> + pkgname=perl-net-sftp-foreign -pkgver=1.73 +pkgver=1.89 pkgrel=1 pkgdesc="Perl SFTP client using the native SSH client application" -arch=(any) -url=http://search.cpan.org/~salva/Net-SFTP-Foreign +arch=('any') +url='http://search.cpan.org/~salva/Net-SFTP-Foreign' license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') optdepends=('perl-file-which' 'perl-sort-key') -options=(!emptydirs) +options=('!emptydirs') changelog=Changes -source=(http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Net-SFTP-Foreign-$pkgver.tar.gz) -md5sums=('3de69b9281027e484a30e3efa581981f') +source=("http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Net-SFTP-Foreign-${pkgver}.tar.gz") +sha256sums=('9bd33e130581c1fc3eb6108eaf9056c1507428cace04a572f7afe816d83b08a7') build() { - cd "$srcdir/Net-SFTP-Foreign-$pkgver" + cd "${srcdir}/Net-SFTP-Foreign-${pkgver}" # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 @@ -22,9 +24,11 @@ build() { } package() { - cd "$srcdir/Net-SFTP-Foreign-$pkgver" + cd "${srcdir}/Net-SFTP-Foreign-${pkgver}" make install DESTDIR=${pkgdir} || return 1 # remove perllocal.pod and .packlist - find "$pkgdir" -name perllocal.pod -delete - find "$pkgdir" -name .packlist -delete + find "${pkgdir}" -name perllocal.pod -delete + find "${pkgdir}" -name .packlist -delete } + +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-net-smtp-ssl/PKGBUILD b/abs/core/perl_modules/perl-net-smtp-ssl/PKGBUILD new file mode 100644 index 0000000..443868e --- /dev/null +++ b/abs/core/perl_modules/perl-net-smtp-ssl/PKGBUILD @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Chris Brannon <cmbrannon79@gmail.com> +# Contributor: Abhishek Dasgupta <abhidg@gmail.com> + +pkgname=perl-net-smtp-ssl +pkgver=1.04 +pkgrel=3 +pkgdesc="SSL support for Net::SMTP" +arch=(any) +url="http://search.cpan.org/dist/Net-SMTP-SSL/" +license=('GPL' 'PerlArtistic') +depends=('perl-io-socket-ssl') +options=(!emptydirs) +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Net-SMTP-SSL-$pkgver.tar.gz") +sha256sums=('7b29c45add19d3d5084b751f7ba89a8e40479a446ce21cfd9cc741e558332a00') + +package() { + cd "${srcdir}/Net-SMTP-SSL-${pkgver}" + # Install module into the vendor directories. + perl Makefile.PL INSTALLDIRS=vendor + make + make DESTDIR="$pkgdir" install || return 1 + + # Remove .packlist and perllocal.pod files. + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name 'perllocal.pod' -delete +} diff --git a/abs/core/perl_modules/perl-net-ssleay/PKGBUILD b/abs/core/perl_modules/perl-net-ssleay/PKGBUILD index 8476265..a45314a 100644 --- a/abs/core/perl_modules/perl-net-ssleay/PKGBUILD +++ b/abs/core/perl_modules/perl-net-ssleay/PKGBUILD @@ -1,38 +1,59 @@ -# $Id: PKGBUILD 160545 2012-06-02 10:28:03Z bluewind $ -# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Manolis Tzanidakis pkgname=perl-net-ssleay _cpanname=Net-SSLeay -pkgver=1.48 +pkgver=1.85 pkgrel=2 -pkgdesc="Perl extension for using OpenSSL" -arch=('i686' 'x86_64') +pkgdesc='Perl extension for using OpenSSL' +url='https://search.cpan.org/dist/Net-SSLeay/' +arch=('x86_64') license=('custom:BSD') -url="http://search.cpan.org/dist/${_cpanname}/" depends=('openssl') -options=(!emptydirs) +makedepends=('chrpath') replaces=('net-ssleay') provides=('net-ssleay') -source=("http://www.cpan.org/authors/id/M/MI/MIKEM/${_cpanname}-${pkgver}.tar.gz") -md5sums=('4e10d9da28f26732e37807820bf72af5') +options=('!emptydirs') +source=(https://www.cpan.org/authors/id/M/MI/MIKEM/${_cpanname}-${pkgver}.tar.gz) +sha512sums=('74e0f2f56b707f1ff845c78c1fa7ce26a71b8f943bb99e994d4e065d1f42259fe4cd1a6a17d333459727534158f9541f116dbc8515122380807d9450b0faa26b') -build() { - cd ${srcdir}/${_cpanname}-${pkgver} +prepare() { + cd ${_cpanname}-${pkgver} + sed -i \ + -e "/\$opts->{optimize} = '-O2 -g';/d" \ + inc/Module/Install/PRIVATE/Net/SSLeay.pm +} - # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL -- INSTALLDIRS=vendor +build() { + cd ${_cpanname}-${pkgver} + export OPTIMIZE="${CFLAGS}" + export OPENSSL_PREFIX=/usr + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd ${_cpanname}-${pkgver} + make test +} + package() { - cd ${srcdir}/${_cpanname}-${pkgver} + cd ${_cpanname}-${pkgver} - make install DESTDIR=${pkgdir} + make install DESTDIR="${pkgdir}" + install -Dm 644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + # strip rpath + find "${pkgdir}" -name '*.so' -exec chrpath -d '{}' \; - install -D -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + # template start; name=perl-binary-module-dependency; version=1; + if [[ $(find "${pkgdir}/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=${_perlver_min}" "perl<${_perlver_max}") + fi + # template end; } + +# vim: ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-net-upnp/PKGBUILD b/abs/core/perl_modules/perl-net-upnp/PKGBUILD index 9d2945e..894d2a8 100644 --- a/abs/core/perl_modules/perl-net-upnp/PKGBUILD +++ b/abs/core/perl_modules/perl-net-upnp/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 143946 2011-11-30 21:55:00Z giovanni $ +# $Id: PKGBUILD 310007 2017-11-15 14:11:34Z foutrelis $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Drew Gilbert <gilbert dot drew at gmail dot com> pkgname=perl-net-upnp -pkgver=1.4.2 -pkgrel=4 +pkgver=1.4.3 +pkgrel=3 pkgdesc="Perl Module UPnP" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~skonno/Net-UPnP-1.4.2/" +arch=('x86_64') +url="http://search.cpan.org/~skonno/Net-UPnP-1.4.3/" license=('BSD' 'PerlArtistic') options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/S/SK/SKONNO/Net-UPnP-${pkgver}.tar.gz") depends=('perl') -md5sums=('bc009fd76b565df40a70aca49af82a7d') +md5sums=('a30d7cc54290946aeb028650cfdc9279') build() { cd "${srcdir}/Net-UPnP-${pkgver}" @@ -22,11 +22,17 @@ build() { make } -package() { +check() { cd "${srcdir}/Net-UPnP-${pkgver}" - make install DESTDIR="${pkgdir}" + make test +} + +package() { + cd "${srcdir}/Net-UPnP-${pkgver}" - find ${pkgdir} -name '.packlist' -delete - find ${pkgdir} -name '*.pod' -delete + make install DESTDIR="${pkgdir}" + + # install license file + install -Dm644 "README" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/abs/core/perl_modules/perl-package-deprecationmanager/PKGBUILD b/abs/core/perl_modules/perl-package-deprecationmanager/PKGBUILD index ae69247..9907a06 100644 --- a/abs/core/perl_modules/perl-package-deprecationmanager/PKGBUILD +++ b/abs/core/perl_modules/perl-package-deprecationmanager/PKGBUILD @@ -1,47 +1,34 @@ -# Maintainer: Justin Davis (juster) <jrcd83@gmail.com> -# $Id: PKGBUILD 71653 2012-05-31 15:45:01Z juster $ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis (juster) <jrcd83@gmail.com> 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" +pkgver=0.17 +pkgrel=3 +pkgdesc="Manage deprecation warnings for your distribution" +arch=('any') +license=('Artistic2.0') +depends=('perl-params-util' 'perl-sub-install' 'perl-sub-name' 'perl-package-stash' + 'perl-module-implementation' 'perl-namespace-autoclean') +checkdepends=('perl-test-fatal' 'perl-test-warnings') +options=('!emptydirs') +url="https://metacpan.org/release/Package-DeprecationManager" +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-$pkgver.tar.gz) +md5sums=('7b46e92aaae3047ede3c67c1714ab88e') -build() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - unset PERL5LIB PERL_MM_OPT - /usr/bin/perl Makefile.PL +build() { + cd "$srcdir"/Package-DeprecationManager-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make -) +} -check() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 - unset PERL5LIB +check() { + cd "$srcdir"/Package-DeprecationManager-$pkgver 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: +package() { + cd "$srcdir"/Package-DeprecationManager-$pkgver + make install DESTDIR="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-package-stash-xs/PKGBUILD b/abs/core/perl_modules/perl-package-stash-xs/PKGBUILD index ee83389..9b0a708 100644 --- a/abs/core/perl_modules/perl-package-stash-xs/PKGBUILD +++ b/abs/core/perl_modules/perl-package-stash-xs/PKGBUILD @@ -1,50 +1,53 @@ -# Maintainer: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 71819 2012-06-02 10:31:46Z bluewind $ +# $Id$ +# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org> +# Contributor: Justin Davis <jrcd83@gmail.com> 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}" +pkgver=0.28 +pkgrel=7 +pkgdesc="Faster and more correct implementation of the Package::Stash API" +arch=('x86_64') +url="http://search.cpan.org/dist/Package-Stash-XS" +license=('PerlArtistic' 'GPL') +depends=('perl') +makedepends=('perl-extutils-makemaker') +checkdepends=('perl-test-fatal' 'perl-test-requires') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-$pkgver.tar.gz) +md5sums=('9664356ec3be02626cbd3081ec246b70') 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'" \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null - cd "$_distdir" + cd Package-Stash-XS-${pkgver} + /usr/bin/perl Makefile.PL + make ) } check() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" + cd Package-Stash-XS-${pkgver} + make test ) } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -} + cd Package-Stash-XS-${pkgver} -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: + make DESTDIR="$pkgdir"/ install +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} diff --git a/abs/core/perl_modules/perl-package-stash/PKGBUILD b/abs/core/perl_modules/perl-package-stash/PKGBUILD index b985727..c50f3a9 100644 --- a/abs/core/perl_modules/perl-package-stash/PKGBUILD +++ b/abs/core/perl_modules/perl-package-stash/PKGBUILD @@ -1,52 +1,33 @@ -# Maintainer: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 57663 2011-11-01 00:48:37Z juster $ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis <jrcd83@gmail.com> 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}" +pkgver=0.37 +pkgrel=4 +pkgdesc="Routines for manipulating stashes" +arch=('any') +url="http://search.cpan.org/dist/Package-Stash" +license=('PerlArtistic' 'GPL') +depends=('perl-dist-checkconflicts' 'perl-package-stash-xs' 'perl-module-implementation') +checkdepends=('perl-test-fatal' 'perl-test-requires') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-$pkgver.tar.gz) +sha1sums=('43fc4e362ac1a45eb27fe779806cbd96c891e2dc') 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 - ) + cd Package-Stash-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd Package-Stash-$pkgver + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd Package-Stash-$pkgver + 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-par-dist/PKGBUILD b/abs/core/perl_modules/perl-par-dist/PKGBUILD new file mode 100644 index 0000000..9034e91 --- /dev/null +++ b/abs/core/perl_modules/perl-par-dist/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: TDY <tdy@gmx.com> +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-par-dist +pkgver=0.49 +pkgrel=3 +pkgdesc="Perl bindings to create and manipulate PAR distributions" +arch=('any') +url="http://search.cpan.org/dist/PAR-Dist/" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/PAR-Dist-$pkgver.tar.gz") +md5sums=('bd852113974544f3c8c107ab4055cf8c') + +build() { + cd "$srcdir/PAR-Dist-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir/PAR-Dist-$pkgver" + make test +} + +package() { + cd "$srcdir/PAR-Dist-$pkgver" + make install DESTDIR="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-params-classify/PKGBUILD b/abs/core/perl_modules/perl-params-classify/PKGBUILD index d0dae4a..caa6278 100644 --- a/abs/core/perl_modules/perl-params-classify/PKGBUILD +++ b/abs/core/perl_modules/perl-params-classify/PKGBUILD @@ -1,23 +1,43 @@ -# $Id: PKGBUILD 71821 2012-06-02 10:31:50Z bluewind $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-params-classify pkgver=0.013 -pkgrel=2 +pkgrel=10 pkgdesc="argument type classification" -arch=(i686 x86_64) +arch=(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') +depends=('perl') +makedepends=('perl-module-build') +source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-$pkgver.tar.gz" + 'op-sibling-fixes.patch') +md5sums=('63d24fbec775472ada49d16bce4a9b1f' + '6a115714a269b34decf42fc445a2d0e0') + +prepare() { + cd "$srcdir"/Params-Classify-$pkgver + # https://rt.cpan.org/Public/Bug/Display.html?id=114490 + patch -Np1 -i ../op-sibling-fixes.patch +} 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 + cd "$srcdir"/Params-Classify-$pkgver + perl Build.PL installdirs=vendor destdir="$pkgdir/" + perl Build +} + +package() { + cd "$srcdir"/Params-Classify-$pkgver + perl Build install + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-params-classify/op-sibling-fixes.patch b/abs/core/perl_modules/perl-params-classify/op-sibling-fixes.patch new file mode 100644 index 0000000..98dd25e --- /dev/null +++ b/abs/core/perl_modules/perl-params-classify/op-sibling-fixes.patch @@ -0,0 +1,79 @@ +--- Params-Classify-0.013a/lib/Params/Classify.xs 2010-11-16 15:35:47.000000000 -0500 ++++ Params-Classify-0.013b/lib/Params/Classify.xs 2017-03-26 15:38:12.384693301 -0400 +@@ -41,6 +41,26 @@ + # define FPTR2DPTR(t,x) ((t)(UV)(x)) + #endif /* !FPTR2DPTR */ + ++#ifndef OpHAS_SIBLING ++# define OpHAS_SIBLING(o) (cBOOL((o)->op_sibling)) ++#endif ++ ++#ifndef OpSIBLING ++# define OpSIBLING(o) (0 + (o)->op_sibling) ++#endif ++ ++#ifndef OpMORESIB_set ++# define OpMORESIB_set(o, sib) ((o)->op_sibling = (sib)) ++#endif ++ ++#ifndef OpLASTSIB_set ++# define OpLASTSIB_set(o, parent) ((o)->op_sibling = NULL) ++#endif ++ ++#ifndef OpMAYBESIB_set ++# define OpMAYBESIB_set(o, sib, parent) ((o)->op_sibling = (sib)) ++#endif ++ + #ifndef ptr_table_new + + struct q_ptr_tbl_ent { +@@ -625,8 +645,8 @@ + OP *(*ppfunc)(pTHX); + I32 cvflags; + pushop = cUNOPx(op)->op_first; +- if(!pushop->op_sibling) pushop = cUNOPx(pushop)->op_first; +- for(cvop = pushop; cvop->op_sibling; cvop = cvop->op_sibling) ; ++ if(!OpHAS_SIBLING(pushop)) pushop = cUNOPx(pushop)->op_first; ++ for(cvop = pushop; OpHAS_SIBLING(cvop); cvop = OpSIBLING(cvop)) ; + if(!(cvop->op_type == OP_RV2CV && + !(cvop->op_private & OPpENTERSUB_AMPER) && + (cv = rvop_cv(cUNOPx(cvop)->op_first)) && +@@ -635,20 +655,20 @@ + return nxck_entersub(aTHX_ op); + cvflags = CvXSUBANY(cv).any_i32; + op = nxck_entersub(aTHX_ op); /* for prototype checking */ +- aop = pushop->op_sibling; +- bop = aop->op_sibling; ++ aop = OpSIBLING(pushop); ++ bop = OpSIBLING(aop); + if(bop == cvop) { + if(!(cvflags & PC_ALLOW_UNARY)) return op; + unary: +- pushop->op_sibling = bop; +- aop->op_sibling = NULL; ++ OpLASTSIB_set(pushop, bop); ++ OpLASTSIB_set(aop, NULL); + op_free(op); + op = newUNOP(OP_NULL, 0, aop); + op->op_type = OP_RAND; + op->op_ppaddr = ppfunc; + op->op_private = (U8)cvflags; + return op; +- } else if(bop && bop->op_sibling == cvop) { ++ } else if(bop && OpSIBLING(op) == cvop) { + if(!(cvflags & PC_ALLOW_BINARY)) return op; + if(ppfunc == THX_pp_check_sclass && + (cvflags & PC_TYPE_MASK) == SCLASS_REF) { +@@ -667,9 +687,9 @@ + cvflags &= ~PC_TYPE_MASK; + ppfunc = THX_pp_check_dyn_battr; + } +- pushop->op_sibling = cvop; +- aop->op_sibling = NULL; +- bop->op_sibling = NULL; ++ OpLASTSIB_set(pushop, cvop); ++ OpLASTSIB_set(aop, NULL); ++ OpLASTSIB_set(bop, NULL); + op_free(op); + op = newBINOP(OP_NULL, 0, aop, bop); + op->op_type = OP_RAND; diff --git a/abs/core/perl_modules/perl-params-util/PKGBUILD b/abs/core/perl_modules/perl-params-util/PKGBUILD index 415ad58..0b17b67 100644 --- a/abs/core/perl_modules/perl-params-util/PKGBUILD +++ b/abs/core/perl_modules/perl-params-util/PKGBUILD @@ -1,43 +1,46 @@ -# Maintainer: Justin Davis (juster) <jrcd83@gmail.com> -# $Id: PKGBUILD 72466 2012-06-15 00:05:46Z juster $ +# $Id$ +# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org> +# Contributor: Justin Davis (juster) <jrcd83@gmail.com> pkgname=perl-params-util pkgver=1.07 -pkgrel=1 +pkgrel=8 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 +arch=('x86_64') +url="https://metacpan.org/release/Params-Util" +license=('PerlArtistic' 'GPL') +depends=('perl') +options=('!emptydirs') 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" +sha256sums=('30f1ec3f2cf9ff66ae96f973333f23c5f558915bb6266881eac7423f52d7c76c') -build() -( - cd "$_dir" +build() { + cd "$srcdir/Params-Util-$pkgver" export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps unset PERL5LIB PERL_MM_OPT /usr/bin/perl Makefile.PL make -) +} -check() -( - cd "$_dir" +check() { + cd "$srcdir/Params-Util-$pkgver" export PERL_MM_USE_DEFAULT=1 unset PERL5LIB make test -) +} -package() -( - cd "$_dir" +package() { + cd "$srcdir/Params-Util-$pkgver" make install INSTALLDIRS=vendor DESTDIR="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -) +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} # Local Variables: # mode: shell-script diff --git a/abs/core/perl_modules/perl-params-validate/PKGBUILD b/abs/core/perl_modules/perl-params-validate/PKGBUILD index b14f42d..accfb83 100644 --- a/abs/core/perl_modules/perl-params-validate/PKGBUILD +++ b/abs/core/perl_modules/perl-params-validate/PKGBUILD @@ -1,27 +1,35 @@ -# $Id: PKGBUILD 71825 2012-06-02 10:31:58Z bluewind $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-params-validate -pkgver=1.06 -pkgrel=3 +pkgver=1.29 +pkgrel=1 pkgdesc="Validate sub params against a spec" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/Params-Validate" license=('GPL' 'PerlArtistic') depends=('perl' 'perl-module-implementation') +makedepends=('perl-module-build') options=('!emptydirs') -source=("http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-${pkgver}.tar.gz") -md5sums=('4f7a281269cd30d7c3994ba5acb50857') +source=("https://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-${pkgver}.tar.gz") +sha256sums=('49a68dfb430bea028042479111d19068e08095e5a467e320b7ab7bde3d729733') build() { cd Params-Validate-${pkgver} perl ./Build.PL --installdirs=vendor ./Build } -package(){ +package() { cd Params-Validate-${pkgver} - ./Build install --destdir=${pkgdir} - find ${pkgdir} -name '.packlist' -delete - find ${pkgdir} -name '*.pod' -delete + ./Build install --destdir="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD b/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD index ab2ae40..386339d 100644 --- a/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD +++ b/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD @@ -1,29 +1,31 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-parse-recdescent -pkgver=1.965001 +pkgver=1.967015 pkgrel=1 pkgdesc="Recursive descent parser generator" arch=(any) url="http://search.cpan.org/dist/Parse-RecDescent" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') +makedepends=('perl-module-build') options=('!emptydirs') LC_NUMERIC=C provides=("perl-parse-recdescent=`printf %.6f ${pkgver}`") -source=(http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-$pkgver.tar.gz) -md5sums=('e91351ad179a3843fbe8e521b135acaf') +source=(http://search.cpan.org/CPAN/authors/id/J/JT/JTBRAUN/Parse-RecDescent-$pkgver.tar.gz) +sha256sums=('1943336a4cb54f1788a733f0827c0c55db4310d5eae15e542639c9dd85656e37') build() { - cd $srcdir/Parse-RecDescent-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + cd "$srcdir"/Parse-RecDescent-$pkgver + perl Build.PL installdirs=vendor destdir="$pkgdir/" + perl Build } + package() { - cd $srcdir/Parse-RecDescent-$pkgver - make install DESTDIR=$pkgdir || return 1 - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + cd "$srcdir"/Parse-RecDescent-$pkgver + perl Build install + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } - diff --git a/abs/core/perl_modules/perl-parse-yapp/PKGBUILD b/abs/core/perl_modules/perl-parse-yapp/PKGBUILD new file mode 100644 index 0000000..8abf85f --- /dev/null +++ b/abs/core/perl_modules/perl-parse-yapp/PKGBUILD @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-parse-yapp +pkgver=1.05 +pkgrel=9 +pkgdesc="Perl/CPAN Module Parse::Yapp : Generates OO LALR parser modules" +arch=("any") +url="http://search.cpan.org/dist/Parse-Yapp" +license=("GPL" "PerlArtistic") +depends=('perl') +source=("https://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-$pkgver.tar.gz") +sha256sums=('228a6cfb483ade811720bb77647900ef359dfc3e071359eb73d39e4a1cc6f22b') + +build() { + cd "$srcdir"/Parse-Yapp-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Parse-Yapp-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-path-class/PKGBUILD b/abs/core/perl_modules/perl-path-class/PKGBUILD new file mode 100644 index 0000000..abf211e --- /dev/null +++ b/abs/core/perl_modules/perl-path-class/PKGBUILD @@ -0,0 +1,49 @@ +# Packager: Justin "juster" Davis <jrcd83@gmail.com> +# $Id$ + +pkgname=perl-path-class +pkgver=0.37 +pkgrel=4 +pkgdesc="Cross-platform path specification manipulation" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl') +makedepends=('perl-module-build') +url="http://search.cpan.org/dist/Path-Class" +source=("http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-${pkgver}.tar.gz") +md5sums=('13e6db714f6d5a0e62ca1c4a7fc4d0f3') + +build() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ + MODULEBUILDRC=/dev/null + + cd Path-Class-${pkgver} + /usr/bin/perl Build.PL + ./Build +) + +check() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd Path-Class-${pkgver} + ./Build test +) + +package() { + export PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \ + PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" + + cd Path-Class-${pkgver} + ./Build 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-perl4-corelibs/PKGBUILD b/abs/core/perl_modules/perl-perl4-corelibs/PKGBUILD new file mode 100644 index 0000000..f96e190 --- /dev/null +++ b/abs/core/perl_modules/perl-perl4-corelibs/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: + +pkgname=perl-perl4-corelibs +pkgver=0.004 +pkgrel=3 +pkgdesc="Libraries historically supplied with Perl 4" +arch=('any') +url="https://metacpan.org/release/Perl4-CoreLibs" +license=('PerlArtistic' 'GPL') +depends=('perl') +makedepends=('perl-module-build') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Perl4-CoreLibs-$pkgver.tar.gz") +sha512sums=('71083f1640e95559ee4bc5a7f1bbe6beacec048a073e211ab7f6ee4de26463f6ae3d87e99e00a41ea8f2f93a5e96367bafe907ef3367e400de35123c22eb7b88') + +build() { + cd Perl4-CoreLibs-$pkgver + perl Build.PL + ./Build +} + +check() { + cd Perl4-CoreLibs-$pkgver + ./Build test +} + +package() { + cd Perl4-CoreLibs-$pkgver + ./Build install installdirs=vendor destdir="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-php-serialization/PKGBUILD b/abs/core/perl_modules/perl-php-serialization/PKGBUILD index 428ee8e..d395dc9 100644 --- a/abs/core/perl_modules/perl-php-serialization/PKGBUILD +++ b/abs/core/perl_modules/perl-php-serialization/PKGBUILD @@ -1,30 +1,50 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Contributor: Ross melin <rdmelin@gmail.com> +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.25 -# Required by zoneminder - -pkgname=perl-php-serialization -pkgver=0.27 -pkgrel=2 -pkgdesc="PHP::Serialization" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~php-serialization/PHP-Serialization" -license=('GPL' 'PerlArtistic') -depends=('perl') +pkgname='perl-php-serialization' +pkgver='0.34' +pkgrel='1' +pkgdesc="simple flexible means of converting the output of PHP's serialize() into the equivalent Perl memory structure, and vice versa." +arch=('any') +license=('PerlArtistic' 'GPL') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/J/JB/JBROWN/php-serialization/PHP-Serialization-$pkgver.tar.gz) -md5sums=('2fb3f63071c5c2119b4eebe39b329684') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/PHP-Serialization' +source=('http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/PHP-Serialization-0.34.tar.gz') +md5sums=('333af0848ad79931875a35cc61dc22e0') +sha512sums=('72218973f21ab71419751cf818e6bd998235aa74bf8ae60ec4a6080ba169d0d7fcefde4f433ce3f6f30ed3084a651deb8aa3a5dd818fc6ebf3fb6188def4efe7') +_distdir="PHP-Serialization-0.34" build() { - cd $startdir/src/PHP-Serialization-$pkgver - eval `perl -V:archname` - PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \ - INSTALLDIRS=vendor || return 1 - - /usr/bin/make || return 1 - /usr/bin/make DESTDIR=$startdir/pkg install || return 1 - /usr/bin/find $startdir/pkg -name '.packlist' -delete - /usr/bin/find $startdir/pkg -name '*.pod' -delete + ( 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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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-proc-daemon/PKGBUILD b/abs/core/perl_modules/perl-proc-daemon/PKGBUILD index f5df566..f6d3b64 100644 --- a/abs/core/perl_modules/perl-proc-daemon/PKGBUILD +++ b/abs/core/perl_modules/perl-proc-daemon/PKGBUILD @@ -1,23 +1,50 @@ -# Contributor: xduugu +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 -pkgname=perl-proc-daemon -pkgver=0.03 -pkgrel=1 -pkgdesc="run Perl program as a daemon process" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~EHOOD/Proc-Daemon" -license=('GPL' 'PerlArtistic') -depends=('perl') +pkgname='perl-proc-daemon' +pkgver='0.22' +pkgrel='1' +pkgdesc="Run Perl program(s) as a daemon process" +arch=('any') +license=('PerlArtistic' 'GPL') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/E/EH/EHOOD/Proc-Daemon-$pkgver.tar.gz) -md5sums=('6e1b83ac0f0add22f63597733f38c973') -sha1sums=('25df5ee454527772ff95bc44980101a6766edb8a') +depends=('perl') +makedepends=('perl-proc-processtable') +url='https://metacpan.org/release/Proc-Daemon' +source=('http://search.cpan.org/CPAN/authors/id/A/AK/AKREAL/Proc-Daemon-0.22.tar.gz') +md5sums=('0c10a6291d776025d3cfd58e49b540af') +sha512sums=('4845882034fc5ddd34361bff90d265fe512a7b3a54238bc899a07bf29ce1d030f45c6de769c146767436a61d17ddc7198e344a3c073bc168af16f05872f38af5') +_distdir="Proc-Daemon-0.22" build() { - cd "$srcdir/Proc-Daemon-$pkgver" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR="$pkgdir/" || return 1 - find "$pkgdir" -name '.packlist' -delete - find "$pkgdir" -name '*.pod' -delete + ( 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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) } + +package() { + cd "$srcdir/$_distdir" + make 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-proc-pid-file/PKGBUILD b/abs/core/perl_modules/perl-proc-pid-file/PKGBUILD index ad69d71..813c306 100644 --- a/abs/core/perl_modules/perl-proc-pid-file/PKGBUILD +++ b/abs/core/perl_modules/perl-proc-pid-file/PKGBUILD @@ -1,25 +1,50 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Cecil H. Watson <knoppmyth@gmail.com> +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.30 -pkgname=perl-proc-pid-file -_realname=Proc-PID-File -pkgver=1.24 -pkgrel=1 -pkgdesc="Proc::PID::File a module to manage process idfiles" -arch=(i686 x86_64) -license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perlxml' 'perl>=5.10.0') +pkgname='perl-proc-pid-file' +pkgver='1.27' +pkgrel='2' +pkgdesc="A module to manage PID files" +arch=('any') +license=('PerlArtistic' 'GPL') options=('!emptydirs') -source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/E/EC/ECALDER/${_realname}-${pkgver}.tar.gz) -md5sums=('90b636492ae72def975a9ef9cac90fda') +depends=('perl') +makedepends=() +url='https://metacpan.org/release/Proc-PID-File' +source=('http://search.cpan.org/CPAN/authors/id/E/EC/ECALDER/Proc-PID-File-1.27.tar.gz') +md5sums=('3fcb07f914f863f9a0967b35af562f9f') +sha512sums=('05d5bcdcc6a9fb2d2cb3779fb6ad6469c7c7845147eae1a4a27dec5bf728ad4fde5c4e2d44bf91382e7609fd701a23dd6fe9edb798dbeecc012d240e25a79bb3') +_distdir="Proc-PID-File-1.27" build() { - cd ${startdir}/src/${_realname}-${pkgver} - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + ( 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 - find ${startdir}/pkg -name '.packlist' -delete - find ${startdir}/pkg -name 'perllocal.pod' -delete + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) } + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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-proc-processtable/PKGBUILD b/abs/core/perl_modules/perl-proc-processtable/PKGBUILD index 8f5ffc1..19211fa 100644 --- a/abs/core/perl_modules/perl-proc-processtable/PKGBUILD +++ b/abs/core/perl_modules/perl-proc-processtable/PKGBUILD @@ -1,18 +1,18 @@ # $Id$ -# Maintainer: Felix Yan <felixonmars@gmail.com> +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-proc-processtable -pkgver=0.51 +pkgver=0.55 pkgrel=1 pkgdesc="Provides a consistent interface to process table information." -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/Proc-ProcessTable/" license=('PerlArtistic') depends=('perl') provides=('perl-proc-killall' 'perl-proc-killfam' 'perl-proc-processtable-process') options=(!emptydirs) source=("http://search.cpan.org/CPAN/authors/id/J/JW/JWB/Proc-ProcessTable-$pkgver.tar.gz") -md5sums=('711238eb8ce7f5583ffef084d8facceb') +sha512sums=('2af3860c6d48508aecd1d97d323ede21318b801873a24fbc4340fa5b526ad7d1c5b55c52044a73cc92e6c0f5dac612c21089bb8cbe4b1d779bb3eb9a7b87bed1') build() { cd "$srcdir/Proc-ProcessTable-$pkgver" @@ -32,4 +32,12 @@ package() { make install DESTDIR="${pkgdir}" find "${pkgdir}" -name perllocal.pod -delete find "${pkgdir}" -name .packlist -delete + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-role-tiny/PKGBUILD b/abs/core/perl_modules/perl-role-tiny/PKGBUILD new file mode 100644 index 0000000..d0c84eb --- /dev/null +++ b/abs/core/perl_modules/perl-role-tiny/PKGBUILD @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname='perl-role-tiny' +pkgver=2.000005 +pkgrel=3 +pkgdesc="Roles. Like a nouvelle cuisine portion size slice of Moose." +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +checkdepends=('perl-test-fatal>=0.003') +url='http://search.cpan.org/dist/Role-Tiny/' +source=("http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Role-Tiny-$pkgver.tar.gz") +sha256sums=('593a29b621e029bf0218d0154d5dfdf6ec502afc49adeeadae6afd0c70063115') + +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 "$srcdir/Role-Tiny-$pkgver" + perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/Role-Tiny-$pkgver" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/Role-Tiny-$pkgver" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/abs/core/perl_modules/perl-sdl/PKGBUILD b/abs/core/perl_modules/perl-sdl/PKGBUILD index d8273a3..3f39048 100644 --- a/abs/core/perl_modules/perl-sdl/PKGBUILD +++ b/abs/core/perl_modules/perl-sdl/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 168746 2012-10-15 12:11:10Z heftig $ +# $Id$ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> pkgname=perl-sdl -pkgver=2.540 -pkgrel=3 +pkgver=2.546 +pkgrel=6 pkgdesc="Simple DirectMedia Layer for Perl" -arch=(i686 x86_64) +arch=(x86_64) license=(LGPL) url="http://sdl.perl.org" depends=(perl-alien-sdl perl-tie-simple @@ -18,9 +18,9 @@ replaces=(sdl_perl) conflicts=(sdl_perl) provides=("sdl_perl=$pkgver") # http://search.cpan.org/dist/SDL/ -_author=JTPALMER +_author=FROGGS source=(http://search.cpan.org/CPAN/authors/id/${_author::1}/${_author::2}/$_author/SDL-$pkgver.tar.gz) -md5sums=('1a5d7849cbdfde4982b28458e38ab172') +md5sums=('a93283d0fff67bdec5ff4bb8c1d30a09') build() { cd SDL-$pkgver @@ -39,4 +39,12 @@ check() { package() { cd SDL-$pkgver perl Build install destdir="$pkgdir" + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-sgmls/PKGBUILD b/abs/core/perl_modules/perl-sgmls/PKGBUILD new file mode 100644 index 0000000..062b38a --- /dev/null +++ b/abs/core/perl_modules/perl-sgmls/PKGBUILD @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> + +_cpanname=SGMLSpm +pkgname=perl-sgmls +epoch=1 +pkgver=1.1 +pkgrel=5 +pkgdesc="A Post-Processor for SGMLS and NSGMLS" +arch=('any') +url="http://search.cpan.org/dist/SGMLSpm" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs' 'docs') +source=(http://search.cpan.org/CPAN/authors/id/R/RA/RAAB/SGMLSpm-$pkgver.tar.gz) +md5sums=('746c74ae969992cedb1a2879b4168090') + +prepare() { + cd "$srcdir/$_cpanname-$pkgver" + find . -type f -exec chmod 0644 {} \; +} + +prepareEnvironment() { + cd "$srcdir/$_cpanname-$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 +} + +build() { + prepareEnvironment + /usr/bin/perl Makefile.PL + make +} + +check() { + prepareEnvironment + make test +} + +package() { + prepareEnvironment + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + + # FS#51874 + ln -sv /usr/bin/vendor_perl/sgmlspl.pl $pkgdir/usr/bin/sgmlspl +} diff --git a/abs/core/perl_modules/perl-shell/PKGBUILD b/abs/core/perl_modules/perl-shell/PKGBUILD deleted file mode 100644 index 31e5278..0000000 --- a/abs/core/perl_modules/perl-shell/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: graysky <graysky AT archlnux DOT us> - -pkgname=perl-shell -_realname=Shell -pkgver=0.72 -_pkgver=0.72_01 -pkgrel=2 -pkgdesc="Run shell commands transparently within perl." -arch=(any) -license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.011') -options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/F/FE/FERREIRA/${_realname}-${_pkgver}.tar.gz) -sha256sums=('823c044e668239be0ac96d0006f5fc9646b8a9a8adfd5f58f2dcd297e875106f') - -build() { - cd ${srcdir}/${_realname}-${_pkgver} - perl Makefile.PL - make -} - -package() { - cd ${srcdir}/${_realname}-${_pkgver} - make install DESTDIR=${pkgdir} -} diff --git a/abs/core/perl_modules/perl-soap-lite/PKGBUILD b/abs/core/perl_modules/perl-soap-lite/PKGBUILD index f5e8ee2..dad16c0 100644 --- a/abs/core/perl_modules/perl-soap-lite/PKGBUILD +++ b/abs/core/perl_modules/perl-soap-lite/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-soap-lite -pkgver=1.20 +pkgver=1.26 pkgrel=1 pkgdesc="Client and server side SOAP implementation" arch=('any') @@ -43,7 +43,7 @@ provides=( perl-xmlrpc-transport-tcp ) source=("http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/SOAP-Lite-${pkgver}.tar.gz") -md5sums=('b49632017cb5ba43c85d60cbe638af07') +md5sums=('1c53fe1b6d986599b1277462062ae303') build() { cd "${srcdir}/SOAP-Lite-${pkgver}" diff --git a/abs/core/perl_modules/perl-socket6/PKGBUILD b/abs/core/perl_modules/perl-socket6/PKGBUILD index 88c8acc..dd30376 100644 --- a/abs/core/perl_modules/perl-socket6/PKGBUILD +++ b/abs/core/perl_modules/perl-socket6/PKGBUILD @@ -1,49 +1,38 @@ -# Maintainer: Florian Pritz <bluewind@xinu.at> -# Generator : CPANPLUS::Dist::Arch 1.18 +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Florian Pritz <bluewind@xinu.at> -pkgname='perl-socket6' -pkgver='0.23' -pkgrel='2' -pkgdesc="getaddrinfo/getnameinfo support module" -arch=('i686' 'x86_64') +pkgname=perl-socket6 +pkgver=0.28 +pkgrel=4 +pkgdesc="A getaddrinfo/getnameinfo support module" +arch=('x86_64') +url='http://search.cpan.org/dist/Socket6' license=('PerlArtistic' 'GPL') -options=('!emptydirs') depends=('perl') -makedepends=() -url='http://search.cpan.org/dist/Socket6' -source=('http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-0.23.tar.gz') -md5sums=('2c02adb13c449d48d232bb704ddbd492') -sha512sums=('39ced223ecdef89e6fa241031019bb5a73e63d2dfdaf3edb55bfea0cb81b91bea09f1cc26b2d15fa28d32227cc13cdb093c70f0ba346c9bdb523359de53d96f9') -_distdir="${srcdir}/Socket6-0.23" +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-$pkgver.tar.gz) +sha1sums=('5903fbf53e0e25623bf71c252c3a073389686ed0') 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 - ) + cd Socket6-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - cd "$_distdir" - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - make test - ) + cd Socket6-$pkgver + make test } package() { - cd "$_distdir" - make install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd Socket6-$pkgver + make DESTDIR="$pkgdir" install +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } - -# 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-specio/PKGBUILD b/abs/core/perl_modules/perl-specio/PKGBUILD new file mode 100644 index 0000000..c2f734c --- /dev/null +++ b/abs/core/perl_modules/perl-specio/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 191857 2016-10-10 11:17:38Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=perl-specio +pkgver=0.42 +pkgrel=1 +pkgdesc="Type constraints and coercions for Perl" +arch=('any') +url="http://search.cpan.org/dist/Specio" +license=('GPL' 'PerlArtistic') +depends=('perl-role-tiny' 'perl-test-fatal' 'perl-mro-compat' 'perl-devel-stacktrace') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Specio-$pkgver.tar.gz) +sha256sums=('23298b93a26d7ae3c1d58106f5898d84ddc71b626afdbf801bddb04d5e524ef6') + +build() { + cd "$srcdir"/Specio-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package() { + cd "$srcdir"/Specio-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} diff --git a/abs/core/perl_modules/perl-sub-exporter-progressive/PKGBUILD b/abs/core/perl_modules/perl-sub-exporter-progressive/PKGBUILD new file mode 100644 index 0000000..22e1baa --- /dev/null +++ b/abs/core/perl_modules/perl-sub-exporter-progressive/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Alan Young <harleypig@gmail.com> + +pkgname=perl-sub-exporter-progressive +pkgver=0.001013 +pkgrel=3 +pkgdesc="Only use Sub::Exporter if you need it" +arch=('any') +url="http://search.cpan.org/dist/Sub-Exporter-Progressive" +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Sub-Exporter-Progressive-$pkgver.tar.gz) +md5sums=('72cf6acdd2a0a8b105821a4db98e4ebe') + +build() { + cd "$srcdir"/Sub-Exporter-Progressive-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir"/Sub-Exporter-Progressive-$pkgver + make test +} + +package() { + cd "$srcdir"/Sub-Exporter-Progressive-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/abs/core/perl_modules/perl-sub-exporter/PKGBUILD b/abs/core/perl_modules/perl-sub-exporter/PKGBUILD index 2d2adb3..ac2b5d5 100644 --- a/abs/core/perl_modules/perl-sub-exporter/PKGBUILD +++ b/abs/core/perl_modules/perl-sub-exporter/PKGBUILD @@ -1,29 +1,28 @@ -# Maintainer: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 57551 2011-10-30 17:28:18Z juster $ +# $Id$ +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis <jrcd83@gmail.com> 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}" +pkgver=0.987 +pkgrel=3 +pkgdesc="A sophisticated exporter for custom-built routines" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl' 'perl-data-optlist' 'perl-params-util' 'perl-sub-install') +url="https://metacpan.org/release/Sub-Exporter" +source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-$pkgver.tar.gz) +md5sums=('5332d269a7ba387773fcd140b72a0ed2') 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'" \ + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL="--skipdeps" \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null - cd "$_distdir" + cd "$srcdir"/Sub-Exporter-$pkgver + /usr/bin/perl Makefile.PL make ) @@ -31,19 +30,15 @@ build() { check() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" + + cd "$srcdir"/Sub-Exporter-$pkgver + make test ) } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -} + cd "$srcdir"/Sub-Exporter-$pkgver -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: + make DESTDIR="$pkgdir"/ install +} diff --git a/abs/core/perl_modules/perl-sub-identify/PKGBUILD b/abs/core/perl_modules/perl-sub-identify/PKGBUILD new file mode 100644 index 0000000..b428187 --- /dev/null +++ b/abs/core/perl_modules/perl-sub-identify/PKGBUILD @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> + +pkgname=perl-sub-identify +pkgver=0.14 +pkgrel=4 +pkgdesc="Retrieve names of code references" +arch=('x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +checkdepends=('perl-test-pod') +url='http://search.mcpan.org/dist/Sub-Identify' +source=("http://search.mcpan.org/CPAN/authors/id/R/RG/RGARCIA/Sub-Identify-$pkgver.tar.gz") +sha512sums=('f69f542c84c5c3ca1f1c7f5f58fd2cf19279a65229f43117c31f24ab0e49d5f329bef2bc00f22252fd2e52b4e17f16b279dac438920668e046e59f2e22e52c14') + +build() { + cd "$srcdir/Sub-Identify-$pkgver" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir/Sub-Identify-$pkgver" + make test +} + +package() { + cd "$srcdir/Sub-Identify-$pkgver" + make DESTDIR="$pkgdir"/ install +} + +# 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 index 08b4b65..9fbb71a 100644 --- a/abs/core/perl_modules/perl-sub-install/PKGBUILD +++ b/abs/core/perl_modules/perl-sub-install/PKGBUILD @@ -1,46 +1,31 @@ -# Maintainer: Justin Davis (juster) <jrcd83@gmail.com> -# $Id: PKGBUILD 71649 2012-05-31 15:44:24Z juster $ +# $Id$ +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis (juster) <jrcd83@gmail.com> 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" +pkgver=0.928 +pkgrel=3 +pkgdesc="Install subroutines into packages easily" +arch=('any') +url="https://metacpan.org/release/Sub-Install" +license=('PerlArtistic' 'GPL') +depends=('perl') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Install-$pkgver.tar.gz) +sha1sums=('868c6cb4c0232d9ac3f865f232359f82012be8d6') -build() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - unset PERL5LIB PERL_MM_OPT - /usr/bin/perl Makefile.PL +build() { + cd Sub-Install-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make -) +} -check() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 - unset PERL5LIB +check() { + cd Sub-Install-$pkgver 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: +package() { + cd Sub-Install-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/abs/core/perl_modules/perl-sub-name/PKGBUILD b/abs/core/perl_modules/perl-sub-name/PKGBUILD new file mode 100644 index 0000000..c671f5b --- /dev/null +++ b/abs/core/perl_modules/perl-sub-name/PKGBUILD @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Maxwell Pray a.k.a. Synthead <synthead@gmail.com> +# Contributor: Justin Davis <jrcd83@gmail.com> + +pkgname=perl-sub-name +_cpanname=Sub-Name +pkgver=0.21 +pkgrel=4 +pkgdesc="(re)name a sub" +arch=('x86_64') +license=('PerlArtistic' 'GPL') +depends=('perl') +options=('!emptydirs') +url="http://search.cpan.org/dist/$_cpanname" +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_cpanname-$pkgver.tar.gz") +md5sums=('7e7a181e30b3249d0b81585f55e36621') + +build() { + cd "$srcdir/$_cpanname-$pkgver" + perl Makefile.PL + make +} + +check() { + cd "$srcdir/$_cpanname-$pkgver" + make test +} + +package() { + cd "$srcdir/$_cpanname-$pkgver" + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD index 86409ac..2613d09 100644 --- a/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD +++ b/abs/core/perl_modules/perl-sub-uplevel/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 65925 2012-02-22 13:43:26Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-sub-uplevel -pkgver=0.22 +pkgver=0.2800 pkgrel=2 pkgdesc="apparently run a function in a higher stack frame " arch=('any') @@ -11,14 +11,18 @@ url="http://search.cpan.org/dist/Sub-Uplevel" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-$pkgver.tar.gz) -md5sums=('c166738a97c0424a0075ebe205d285db') +source=(https://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-$pkgver.tar.gz) +sha256sums=('b4f3f63b80f680a421332d8851ddbe5a8e72fcaa74d5d1d98f3c8cc4a3ece293') build() { - cd $srcdir/Sub-Uplevel-$pkgver + 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 +} + +package() { + cd "$srcdir"/Sub-Uplevel-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-sys-cpu/PKGBUILD b/abs/core/perl_modules/perl-sys-cpu/PKGBUILD index 325fd89..11e0b9b 100644 --- a/abs/core/perl_modules/perl-sys-cpu/PKGBUILD +++ b/abs/core/perl_modules/perl-sys-cpu/PKGBUILD @@ -5,7 +5,7 @@ pkgname=perl-sys-cpu pkgver=0.61 -pkgrel=1 +pkgrel=2 pkgdesc="Perl extension for getting CPU information. Currently only number of CPU's supported." arch=('any') url="http://search.cpan.org/~mkoderer/Sys-CPU-$pkgver/" diff --git a/abs/core/perl_modules/perl-sys-meminfo/PKGBUILD b/abs/core/perl_modules/perl-sys-meminfo/PKGBUILD index 05ef17d..7660eab 100644 --- a/abs/core/perl_modules/perl-sys-meminfo/PKGBUILD +++ b/abs/core/perl_modules/perl-sys-meminfo/PKGBUILD @@ -3,7 +3,7 @@ pkgname='perl-sys-meminfo' pkgver='0.98' -pkgrel='1' +pkgrel='2' pkgdesc="Perl extension for return the total amount of physical memory" arch=('any') license=('PerlArtistic' 'GPL') diff --git a/abs/core/perl_modules/perl-sys-mmap/PKGBUILD b/abs/core/perl_modules/perl-sys-mmap/PKGBUILD new file mode 100644 index 0000000..84e263f --- /dev/null +++ b/abs/core/perl_modules/perl-sys-mmap/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-sys-mmap' +pkgver='0.19' +pkgrel='2' +pkgdesc="uses mmap to map in a file as a Perl variable" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='https://metacpan.org/release/Sys-Mmap' +source=('http://search.cpan.org/CPAN/authors/id/S/SW/SWALTERS/Sys-Mmap-0.19.tar.gz') +md5sums=('990c9106a88dc843035f7bcb109e6c0e') +sha512sums=('4e6409cddd13322b4cdaad832e6d0233776e51098b499fd05d8e642e547eb1ed7add5bb9fb339e69048a3293140098e282b51698eb6d188ace71ad58c1628556') +_distdir="Sys-Mmap-0.19" + +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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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-template-toolkit/PKGBUILD b/abs/core/perl_modules/perl-template-toolkit/PKGBUILD index 157cad2..0bc941b 100644 --- a/abs/core/perl_modules/perl-template-toolkit/PKGBUILD +++ b/abs/core/perl_modules/perl-template-toolkit/PKGBUILD @@ -5,16 +5,16 @@ # Contributor: FJ <joostef@gmail.com> pkgname=perl-template-toolkit -pkgver=2.26 -pkgrel=3 +pkgver=2.27 +pkgrel=4 pkgdesc="Perl template processing system" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/Template-Toolkit/" license=('PerlArtistic') depends=('perl-appconfig' 'perl') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit-$pkgver.tar.gz) -md5sums=('4c289856ebee446ebbe2629b24f0734b') +md5sums=('a7fae5d4fe5918f33105d92a62134067') build() { cd Template-Toolkit-$pkgver diff --git a/abs/core/perl_modules/perl-term-progressbar/PKGBUILD b/abs/core/perl_modules/perl-term-progressbar/PKGBUILD index 133603f..d158eeb 100644 --- a/abs/core/perl_modules/perl-term-progressbar/PKGBUILD +++ b/abs/core/perl_modules/perl-term-progressbar/PKGBUILD @@ -1,23 +1,27 @@ -# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Charles Mauch <cmauch@gmail.com> pkgname=perl-term-progressbar -pkgver=2.09 -pkgrel=3 +pkgver=2.21 +pkgrel=1 pkgdesc="Perl/CPAN Module Term::ProgressBar : Progress bar in just ASCII using Term" -arch=("i686" "x86_64") -url="http://search.cpan.org/FLUFFY/Term-ProgressBar" +arch=("any") +url="http://search.cpan.org/dist/Term-ProgressBar" license=("GPL" "PerlArtistic") -source=("http://www.cpan.org/authors/id/F/FL/FLUFFY/Term-ProgressBar-2.09.tar.gz") -md5sums=('440dfd04fe51a12d314e9adf2445f04a') -makedepends=("perl-class-methodmaker" "perl-term-readkey") depends=("perl-class-methodmaker" "perl-term-readkey") +source=("http://search.cpan.org/CPAN/authors/id/M/MA/MANWAR/Term-ProgressBar-$pkgver.tar.gz") +sha256sums=('66994f1a6ca94d8d92e3efac406142fb0d05033360c0acce2599862db9c30e44') build() { - cd $startdir/src/Term-ProgressBar-2.09 - 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"/Term-ProgressBar-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Term-ProgressBar-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-term-readkey/PKGBUILD b/abs/core/perl_modules/perl-term-readkey/PKGBUILD index 33397b2..aeda3a6 100644 --- a/abs/core/perl_modules/perl-term-readkey/PKGBUILD +++ b/abs/core/perl_modules/perl-term-readkey/PKGBUILD @@ -1,36 +1,43 @@ # $Id$ -# Maintainer: kevin <kevin@archlinux.org> +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: kevin <kevin@archlinux.org> # Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org> -# Contributor: Francois Charette <francois.archlinux.org> +# Contributor: Francois Charette <francois.archlinux.org> pkgname=perl-term-readkey _realname=TermReadKey -pkgver=2.30.01 +pkgver=2.37 pkgrel=4 pkgdesc="Provides simple control over terminal driver modes" -arch=('i686' 'x86_64') +arch=('x86_64') license=('custom') -depends=('perl>=5.10.0' 'glibc') -url="http://search.cpan.org/~stsi/${_realname}/" -source=(http://search.cpan.org/CPAN/authors/id/S/ST/STSI/${_realname}-$pkgver.tar.gz) +depends=('perl' 'glibc') +url="http://search.cpan.org/~jstowe/${_realname}/" options=('!emptydirs') -md5sums=('6c099eddb76ec9b92179f1ed929be71a') +source=(http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/${_realname}-$pkgver.tar.gz) +md5sums=('e8ea15c16333ac4f8d146d702e83cc0c') -build() -{ - cd ${srcdir}/TermReadKey-$pkgver +build() { + cd "${srcdir}/TermReadKey-$pkgver" perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/TermReadKey-$pkgver" make test } package() { - cd ${srcdir}/TermReadKey-$pkgver - make DESTDIR=${pkgdir} install - install -d ${pkgdir}/usr/share/licenses/$pkgname/ - head -7 README > ${pkgdir}/usr/share/licenses/$pkgname/LICENSE - - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + cd "${srcdir}/TermReadKey-$pkgver" + make DESTDIR="${pkgdir}" install + install -d "${pkgdir}/usr/share/licenses/$pkgname/" + head -7 README > "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-test-exception/PKGBUILD b/abs/core/perl_modules/perl-test-exception/PKGBUILD index ccf2bc6..793ad69 100644 --- a/abs/core/perl_modules/perl-test-exception/PKGBUILD +++ b/abs/core/perl_modules/perl-test-exception/PKGBUILD @@ -1,26 +1,27 @@ -# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Charles Mauch <cmauch@gmail.com> pkgname=perl-test-exception -pkgver=0.31 -pkgrel=1 +pkgver=0.43 +pkgrel=3 pkgdesc="Perl/CPAN Module Test::Exception : Functions for testing exceptionbased code" arch=("any") -url="http://search.cpan.org/~adie/" -license=("GPL" "Artistic") -makedepends=("perl-sub-uplevel") +url="http://search.cpan.org/dist/Test-Exception/" +license=("GPL" "PerlArtistic") depends=("perl-sub-uplevel") -source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Exception-$pkgver.tar.gz") -md5sums=('adb57ca7614d15e5b307bf5e024b35a8') +source=("http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-Exception-$pkgver.tar.gz") +md5sums=('572d355026fb0b87fc2b8c64b83cada0') build() { - cd $srcdir/Test-Exception-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor - make + cd "$srcdir"/Test-Exception-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make } + package() { - cd $srcdir/Test-Exception-$pkgver - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + cd "$srcdir"/Test-Exception-$pkgver + 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 index dfae079..3309313 100644 --- a/abs/core/perl_modules/perl-test-fatal/PKGBUILD +++ b/abs/core/perl_modules/perl-test-fatal/PKGBUILD @@ -1,46 +1,31 @@ -# Maintainer: Justin Davis (juster) <jrcd83@gmail.com> -# $Id: PKGBUILD 71635 2012-05-31 15:12:33Z juster $ +# $Id$ +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis (juster) <jrcd83@gmail.com> 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" +pkgver=0.014 +pkgrel=3 +pkgdesc="Incredibly simple helpers for testing code with exceptions" +arch=('any') +url="https://metacpan.org/release/Test-Fatal" +license=('PerlArtistic' 'GPL') +depends=('perl-try-tiny') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-$pkgver.tar.gz) +sha1sums=('6984ef1c0aed1d2c8334e8f20818cbf269abc345') -build() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - unset PERL5LIB PERL_MM_OPT - /usr/bin/perl Makefile.PL +build() { + cd "$srcdir/Test-Fatal-$pkgver" + perl Makefile.PL make -) +} -check() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 - unset PERL5LIB +check() { + cd "$srcdir/Test-Fatal-$pkgver" 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: +package() { + cd "$srcdir/Test-Fatal-$pkgver" + make INSTALLDIRS=vendor DESTDIR="$pkgdir" install +} diff --git a/abs/core/perl_modules/perl-test-pod/PKGBUILD b/abs/core/perl_modules/perl-test-pod/PKGBUILD index 5adb9d1..f6e0d22 100644 --- a/abs/core/perl_modules/perl-test-pod/PKGBUILD +++ b/abs/core/perl_modules/perl-test-pod/PKGBUILD @@ -1,30 +1,32 @@ -# $Id: PKGBUILD 140682 2011-10-18 03:16:34Z eric $ -# Maintainer: Kevin <kevin@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Kevin <kevin@archlinux.org> # Contributor: Firmicus <francois.archlinux.org> pkgname=perl-test-pod -_realname=Test-Pod -pkgver=1.45 +pkgver=1.52 pkgrel=1 pkgdesc="Check for POD errors in files" arch=('any') -url="http://search.cpan.org/dist/${_realname}/" +url="http://search.cpan.org/dist/Test-Pod/" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/${_realname}-${pkgver}.tar.gz) -md5sums=('089c8f272931df82f6c4d11a74f04628') +source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-${pkgver}.tar.gz) +sha512sums=('9b078488e1da8b907f5f3a46452aa9bfd49db61f1539d076dccebf9a8b476eaf0f539f00badc9c500b1e732a8827331b2286375924986efb990367767eeb8365') build() { - cd "${srcdir}/${_realname}-${pkgver}" - perl Build.PL installdirs=vendor - ./Build + cd Test-Pod-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make } -package() { - cd "${srcdir}/${_realname}-${pkgver}" - ./Build install destdir="${pkgdir}" +check() { + cd Test-Pod-${pkgver} + make test +} - find "${pkgdir}" -name '.packlist' -delete - find "${pkgdir}" -name '*.pod' -delete +package() { + cd Test-Pod-${pkgver} + make DESTDIR="${pkgdir}" install } diff --git a/abs/core/perl_modules/perl-test-requires/PKGBUILD b/abs/core/perl_modules/perl-test-requires/PKGBUILD index c7de2ab..ac440ad 100644 --- a/abs/core/perl_modules/perl-test-requires/PKGBUILD +++ b/abs/core/perl_modules/perl-test-requires/PKGBUILD @@ -1,10 +1,11 @@ # $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Justin Davis <jrcd83@gmail.com> -pkgname='perl-test-requires' -pkgver='0.06' -pkgrel='1' +pkgname=perl-test-requires +pkgver=0.10 +pkgrel=3 pkgdesc="Checks to see if the module can be loaded" arch=('any') license=('PerlArtistic' 'GPL') @@ -12,18 +13,20 @@ 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') +md5sums=('0d5da779609d0c8fa6f796b45ff8c6f3') 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 + cd "$srcdir"/Test-Requires-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "$srcdir"/Test-Requires-$pkgver make test - make install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +package() { + cd "$srcdir"/Test-Requires-$pkgver + make DESTDIR="$pkgdir"/ install } diff --git a/abs/core/perl_modules/perl-test-warn/PKGBUILD b/abs/core/perl_modules/perl-test-warn/PKGBUILD index 1b5626d..4f25e61 100644 --- a/abs/core/perl_modules/perl-test-warn/PKGBUILD +++ b/abs/core/perl_modules/perl-test-warn/PKGBUILD @@ -1,29 +1,29 @@ -# $Id: PKGBUILD 70452 2012-05-07 13:45:39Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Firmicus <francois.archlinux.org> pkgname=perl-test-warn -pkgver=0.24 -pkgrel=1 +pkgver=0.32 +pkgrel=2 pkgdesc="Perl extension to test methods for warnings " arch=(any) -url="http://search.cpan.org/~CHORNY/Test-Warn" +url="http://search.cpan.org/dist/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') +source=("http://search.cpan.org/CPAN/authors/id/B/BI/BIGJ/Test-Warn-$pkgver.tar.gz") +sha256sums=('2fc516e71f9ef453be22a4619d91eb3f78df414a57dfa0fd745d3bff50bf73d2') build() { - cd $srcdir/Test-Warn-$pkgver + 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 + 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-text-charwidth/PKGBUILD b/abs/core/perl_modules/perl-text-charwidth/PKGBUILD new file mode 100644 index 0000000..bcb6034 --- /dev/null +++ b/abs/core/perl_modules/perl-text-charwidth/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-text-charwidth +pkgver=0.04 +pkgrel=16 +pkgdesc="Perl/CPAN Module Text::CharWidth" +arch=("x86_64") +url="http://search.cpan.org/dist/Text-CharWidth" +license=("GPL" "PerlArtistic") +options=('!emptydirs') +source=("https://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz") +sha256sums=('abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8') + +build() { + cd Text-CharWidth-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Text-CharWidth-${pkgver} + + make install DESTDIR="$pkgdir" + + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} diff --git a/abs/core/perl_modules/perl-text-iconv/PKGBUILD b/abs/core/perl_modules/perl-text-iconv/PKGBUILD index 1e35fce..b9ab604 100644 --- a/abs/core/perl_modules/perl-text-iconv/PKGBUILD +++ b/abs/core/perl_modules/perl-text-iconv/PKGBUILD @@ -1,25 +1,39 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: damir <damir@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-text-iconv _realname=Text-Iconv pkgver=1.7 -pkgrel=2 +pkgrel=14 pkgdesc="Interface to iconv codeset conversion" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/${_realname}/" license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +depends=('perl') options=('!emptydirs') source=(http://www.cpan.org/authors/id/M/MP/MPIOTR/${_realname}-${pkgver}.tar.gz) md5sums=('81b26e069eaebb084e91ea3c009b67ae') build() { - cd ${startdir}/src/${_realname}-${pkgver} - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 - find ${startdir}/pkg -name '.packlist' -delete - find ${startdir}/pkg -name '*.pod' -delete + cd "${srcdir}/${_realname}-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make DESTDIR="${pkgdir}" install +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-text-patch/PKGBUILD b/abs/core/perl_modules/perl-text-patch/PKGBUILD index d7751e4..9dbf253 100644 --- a/abs/core/perl_modules/perl-text-patch/PKGBUILD +++ b/abs/core/perl_modules/perl-text-patch/PKGBUILD @@ -1,26 +1,31 @@ -# $Id: PKGBUILD 125357 2011-05-26 06:26:28Z angvp $ -# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> -# Contributor: Caleb Cushing <xenoterracide@gmail.com> +# $Id$ +# Maintainer: + pkgname=perl-text-patch -_realname=Text-Patch pkgver=1.8 -pkgrel=1 +pkgrel=4 pkgdesc="Patches text with given patch" -arch=(any) -license=(PerlArtistic GPL) -depends=(perl) -url='http://search.cpan.org/dist/$_realname' +arch=('any') +url="http://search.cpan.org/dist/Text-Patch" +license=('PerlArtistic' 'GPL') +depends=('perl') +checkdepends=('perl-text-diff') options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/C/CA/CADE/$_realname-$pkgver.tar.gz") -md5sums=('ad5e453d5ba3b48afd8163114d0fee1c') +source=("http://search.cpan.org/CPAN/authors/id/C/CA/CADE/Text-Patch-$pkgver.tar.gz") +sha1sums=('025d6249ae2b57b2f92cc7e1761b94a5fdbe4635') build() { - cd "$srcdir/$_realname-$pkgver" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd Text-Patch-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd Text-Patch-$pkgver + make test +} + package() { - cd "$srcdir/$_realname-$pkgver" + cd Text-Patch-$pkgver make DESTDIR="$pkgdir" install } diff --git a/abs/core/perl_modules/perl-text-reform/PKGBUILD b/abs/core/perl_modules/perl-text-reform/PKGBUILD new file mode 100644 index 0000000..e54b7b6 --- /dev/null +++ b/abs/core/perl_modules/perl-text-reform/PKGBUILD @@ -0,0 +1,29 @@ +# $Id$ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Maintainer: Firmicus <francois.archlinux.org> + +pkgname=perl-text-reform +_realname=Text-Reform +pkgver=1.20 +pkgrel=4 +pkgdesc="Manual text wrapping and reformatting " +arch=(any) +url="http://search.cpan.org/dist/Text-Reform" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/${_realname}-$pkgver.tar.gz) +md5sums=('f37f5834f3dc221eacd09bdfcfe40918') + +build() { + cd "${srcdir}"/Text-Reform-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}"/Text-Reform-$pkgver + make install DESTDIR="${pkgdir}" + find "${pkgdir}" -name '.packlist' -delete + find "${pkgdir}" -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-text-wrapi18n/PKGBUILD b/abs/core/perl_modules/perl-text-wrapi18n/PKGBUILD new file mode 100644 index 0000000..12ef95f --- /dev/null +++ b/abs/core/perl_modules/perl-text-wrapi18n/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 67415 2012-03-11 13:48:47Z cbrannon $ +# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> +# Contributor: Aaron Griffin <aaron@archlinux.org> + +pkgname=perl-text-wrapi18n +_realname=Text-WrapI18N +pkgver=0.06 +pkgrel=8 +pkgdesc="Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words" +arch=('any') +license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perl-text-charwidth') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/K/KU/KUBOTA/${_realname}-${pkgver}.tar.gz") +md5sums=('0799c16a00926e6c18d400c2e2861d5f') + +build() { + cd ${srcdir}/${_realname}-${pkgver} + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor + make + make test +} + +package() { + cd ${srcdir}/${_realname}-${pkgver} + make DESTDIR=${pkgdir} install + + # remove perllocal.pod, .packlist, and empty dirs: + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name 'perllocal.pod' -delete +} diff --git a/abs/core/perl_modules/perl-tie-simple/PKGBUILD b/abs/core/perl_modules/perl-tie-simple/PKGBUILD index 14324be..2826b0b 100644 --- a/abs/core/perl_modules/perl-tie-simple/PKGBUILD +++ b/abs/core/perl_modules/perl-tie-simple/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 149417 2012-02-07 16:25:32Z heftig $ +# $Id$ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgname=perl-tie-simple _realname=Tie-Simple -pkgver=1.03 -pkgrel=2 +pkgver=1.04 +pkgrel=3 pkgdesc="Variable ties made easier: much, much, much easier..." arch=(any) license=(PerlArtistic GPL) @@ -12,7 +12,7 @@ depends=(perl) url="http://search.cpan.org/dist/Tie-Simple" options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/H/HA/HANENKAMP/$_realname-$pkgver.tar.gz") -md5sums=('198f7ec68c9b954251c4ed163ee112c7') +md5sums=('e5b49588609d6212d3b9bc808cab7aa4') build() { cd "$srcdir/$_realname-$pkgver" diff --git a/abs/core/perl_modules/perl-time-format/PKGBUILD b/abs/core/perl_modules/perl-time-format/PKGBUILD index 5d240f7..082af78 100644 --- a/abs/core/perl_modules/perl-time-format/PKGBUILD +++ b/abs/core/perl_modules/perl-time-format/PKGBUILD @@ -5,7 +5,7 @@ pkgname=perl-time-format pkgver=1.12 -pkgrel=2 +pkgrel=4 pkgdesc="Perl/CPAN Module Time::Format : Easytouse datetime formatting" arch=(any) url="http://search.cpan.org/dist/Time-Format" diff --git a/abs/core/perl_modules/perl-time-modules/PKGBUILD b/abs/core/perl_modules/perl-time-modules/PKGBUILD index fd41453..bd273e1 100644 --- a/abs/core/perl_modules/perl-time-modules/PKGBUILD +++ b/abs/core/perl_modules/perl-time-modules/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 62353 2012-01-19 16:06:20Z seblu $ -# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> +# $Id$ +# Maintainer: Sébastien Luttringer # Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com> # Contributor: Philippe LUC <philfifi@gmail.com> pkgname=perl-time-modules -pkgver=2011.0517 -pkgrel=1 -pkgdesc='Perl time related module' -url="http://search.cpan.org/~muir/Time-modules-$pkgver/" +pkgver=2013.0912 +pkgrel=3 +pkgdesc='Perl time related modules' +url='http://search.cpan.org/~muir/Time-modules/' license=('GPL' 'PerlArtistic') options=('!emptydirs') arch=('any') source=("http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Time-modules-$pkgver.tar.gz") -md5sums=('67204ebc06211a877665765f91dc4e51') +md5sums=('a4330144e24c356ca4c925d14e5ab06b') build() { cd Time-modules-$pkgver @@ -25,4 +25,4 @@ package() { make install DESTDIR="$pkgdir/" } -# vim:set ts=2 sw=2 ft=sh et: +# vim:set ts=2 sw=2 et: diff --git a/abs/core/perl_modules/perl-timedate/PKGBUILD b/abs/core/perl_modules/perl-timedate/PKGBUILD index bd7d0e3..041ee58 100644 --- a/abs/core/perl_modules/perl-timedate/PKGBUILD +++ b/abs/core/perl_modules/perl-timedate/PKGBUILD @@ -1,37 +1,37 @@ # $Id$ -# Maintainer: Kevin Piche <kevin@archlinux.org> +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: Kevin Piche <kevin@archlinux.org> # Contributor: Manolis Tzanidakis pkgname=perl-timedate _realname=TimeDate -pkgver=1.20 -pkgrel=2 +pkgver=2.30 +pkgrel=4 pkgdesc="Date formating subroutines" -arch=(any) +arch=('any') license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') -source=(http://www.cpan.org/authors/id/G/GB/GBARR/${_realname}-${pkgver}.tar.gz) -options=(!emptydirs) +depends=('perl') replaces=('timedate') provides=('timedate') -md5sums=('7da7452bce4c684e4238e6d09b390200') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/G/GB/GBARR/${_realname}-${pkgver}.tar.gz") +md5sums=('b1d91153ac971347aee84292ed886c1c') build() { - cd $srcdir/${_realname}-${pkgver} + cd ${_realname}-${pkgver} # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd ${_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 ${_realname}-${pkgver} + make install DESTDIR="${pkgdir}" } -# vim: ts=2 sw=2 et ft=sh diff --git a/abs/core/perl_modules/perl-tk-tablematrix/PKGBUILD b/abs/core/perl_modules/perl-tk-tablematrix/PKGBUILD index 4244683..6b53fda 100644 --- a/abs/core/perl_modules/perl-tk-tablematrix/PKGBUILD +++ b/abs/core/perl_modules/perl-tk-tablematrix/PKGBUILD @@ -1,25 +1,38 @@ -# $Id: PKGBUILD,v 1.8 2008/03/24 17:11:47 sergej Exp $ -# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org> +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Charles Mauch <cmauch@gmail.com> pkgname=perl-tk-tablematrix pkgver=1.23 -pkgrel=4 +pkgrel=18 pkgdesc="Display data in TableSpreadsheet format" -arch=("i686" "x86_64") -url="http://search.cpan.org/CERNEY/Tk-TableMatrix" +arch=("x86_64") +url="http://search.cpan.org/dist/Tk-TableMatrix" license=("GPL" "PerlArtistic") depends=('perl-tk') options=('!emptydirs') -source=("http://www.cpan.org/authors/id/C/CE/CERNEY/Tk-TableMatrix-$pkgver.tar.gz") -md5sums=('6b7653d129bf1a8327054a88b58d6364') +source=("https://www.cpan.org/authors/id/C/CE/CERNEY/Tk-TableMatrix-${pkgver}.tar.gz") +sha256sums=('ce9ace8d1c1245b80ea6b2e72ee3e7f75ca4111026e403134b8ecad02ec931da') build() { - cd $startdir/src/Tk-TableMatrix-$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 - rm -f $startdir/pkg/usr/lib/perl5/vendor_perl/auto/Tk/pTk/extralibs.ld + cd Tk-TableMatrix-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd Tk-TableMatrix-${pkgver} + make install DESTDIR="$pkgdir" + + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete + find "$pkgdir" -name 'extralibs.ld' -delete + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-tk/PKGBUILD b/abs/core/perl_modules/perl-tk/PKGBUILD index 6d9a17a..fbf5909 100644 --- a/abs/core/perl_modules/perl-tk/PKGBUILD +++ b/abs/core/perl_modules/perl-tk/PKGBUILD @@ -1,37 +1,33 @@ # $Id$ -# Maintainer: Felix Yan <felixonmars@gmail.com> +# Maintainer: Felix Yan <felixonmars@archlinux.org> # Contributor: François Charette <francois ατ archlinux δοτ org> # Contributor: Jason Chu <jchu@xentac.net> # Contributor: Juergen Hoetzel <juergen@archlinux.org> pkgname=perl-tk -pkgver=804.032 -pkgrel=3 +pkgver=804.034 +pkgrel=1 pkgdesc="A graphical user interface toolkit for Perl" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/Tk" license=('PerlArtistic' 'GPL' 'custom') depends=('libpng' 'libjpeg' 'tk' 'perl') +checkdepends=('xorg-server-xvfb' 'perl-devel-leak' 'perl-test-pod') options=('!emptydirs' '!strip') -source=(http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-${pkgver}.tar.gz - https://github.com/eserte/perl-tk/commit/ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b.patch - https://github.com/eserte/perl-tk/commit/1ca4589ef5a87999ec564081900bc8fdaed83c74.patch) +source=(http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-${pkgver}.tar.gz) +sha512sums=('8d04fd902db72f80f749256453703e40c94fd009c6a196c608dd3bde4eeb99f974a154d5f52b28baa9e67f75529f0180619989c16cae28a9417b647908de04b6') build() { cd Tk-$pkgver - # FS#40692 - patch -p1 -i ../1ca4589ef5a87999ec564081900bc8fdaed83c74.patch - patch -p1 -i ../ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b.patch - perl Makefile.PL INSTALLDIRS=vendor make } -#check() { -# cd Tk-$pkgver -# make test -#} +check() { + cd Tk-$pkgver + xvfb-run make -j1 test +} package() { cd Tk-$pkgver @@ -42,7 +38,12 @@ package() { "${pkgdir}/usr/share/licenses/${pkgname}/tk.license" install -D -m644 pTk/Tix.license \ "${pkgdir}/usr/share/licenses/${pkgname}/tix.license" + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } -md5sums=('47a84c70d1fd254ccece208303e6e9d5' - '27c00e07b221a41dd6113e677c15af5d' - 'ea4ef20075bfd7da735a87245feeb061') diff --git a/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD b/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD index f5c7216..dcb3df9 100644 --- a/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD +++ b/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 65974 2012-02-22 14:07:15Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-tree-dag-node -pkgver=1.06 -pkgrel=3 +pkgver=1.31 +pkgrel=1 pkgdesc="base class for trees" arch=('any') url="http://search.cpan.org/dist/Tree-DAG_Node" license=('GPL' 'PerlArtistic') +depends=('perl-file-slurp-tiny') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/C/CO/COGENT/Tree-DAG_Node-$pkgver.tar.gz) -md5sums=('3b006f128bd1d8961fc57c466ffa05f2') +source=(https://www.cpan.org/authors/id/R/RS/RSAVAGE/Tree-DAG_Node-$pkgver.tgz) +sha256sums=('1c8ba69772568b3758054247097512c550efe31517c329fb65eef7afccc9d304') build() { - cd $srcdir/Tree-DAG_Node-$pkgver + 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 +} + +package() { + cd "$srcdir"/Tree-DAG_Node-$pkgver + 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 index f70a01e..821b68b 100644 --- a/abs/core/perl_modules/perl-try-tiny/PKGBUILD +++ b/abs/core/perl_modules/perl-try-tiny/PKGBUILD @@ -1,49 +1,32 @@ -# Maintainer: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 57540 2011-10-30 17:10:04Z juster $ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-try-tiny -pkgver=0.11 +pkgver=0.30 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}" +pkgdesc="Minimal try/catch with proper localization of \$@" +arch=('any') +url="http://search.cpan.org/dist/Try-Tiny" +license=('MIT') +depends=('perl') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Try-Tiny-${pkgver}.tar.gz") +sha512sums=('f523736ab0504ca0f7150be312e62988c4b9473a9e8469b0746dc8364945e2922c64c92e95e6c2b5792c5d6399dabea3d00aa45c065155b95519d5658a07216c') 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 - ) + cd Try-Tiny-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd Try-Tiny-${pkgver} + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd Try-Tiny-${pkgver} + make DESTDIR="$pkgdir" install + # upstream typo :/ + install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } - -# 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-unicode-linebreak/PKGBUILD b/abs/core/perl_modules/perl-unicode-linebreak/PKGBUILD new file mode 100644 index 0000000..3ed46bc --- /dev/null +++ b/abs/core/perl_modules/perl-unicode-linebreak/PKGBUILD @@ -0,0 +1,39 @@ +# $ID$ +# Maintainer: Rémy Oudompheng <remy@archlinux.org> + +pkgname=perl-unicode-linebreak +_dist=Unicode-LineBreak +pkgver=2017.004 +pkgrel=2 +pkgdesc="UAX #14 Unicode Line Breaking Algorithm" +arch=('x86_64') +url="https://metacpan.org/release/${_dist}" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-mime-charset' 'libthai') +checkdepends=('perl-test-pod') +options=('!emptydirs') +source=(https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/${_dist}-${pkgver}.tar.gz) +# Checksums from https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/CHECKSUMS +md5sums=('de7672227922260ac92d20bbad29660b') +sha256sums=('655bc3c4cb60ad0770d97816716cfe322f24e602c70e595f5941dfa02c40cb76') + +build() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + perl Makefile.PL + make +} + +check() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} diff --git a/abs/core/perl_modules/perl-unicode-map/PKGBUILD b/abs/core/perl_modules/perl-unicode-map/PKGBUILD index 1d03e86..d3dc5ef 100644 --- a/abs/core/perl_modules/perl-unicode-map/PKGBUILD +++ b/abs/core/perl_modules/perl-unicode-map/PKGBUILD @@ -1,30 +1,50 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Contributor: Ross melin <rdmelin@gmail.com> +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.27 -# Required by zoneminder - -pkgname=perl-unicode-map -pkgver=0.112 -pkgrel=2 -pkgdesc="Unicode::Map" +pkgname='perl-unicode-map' +pkgver='0.112' +pkgrel='3' +pkgdesc="V0.112 - maps charsets from and to utf16 unicode " arch=('i686' 'x86_64') -url="http://search.cpan.org/~MSCHWARTZ/Unicode-Map" -license=('GPL' 'PerlArtistic') -depends=('perl') +license=('PerlArtistic' 'GPL') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-$pkgver.tar.gz) +depends=('perl>=0') +makedepends=() +url='http://search.cpan.org/dist/Unicode-Map' +source=('http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz') md5sums=('edaa8fc5ddf0e5d805e274283dd0625d') +sha512sums=('f66961ee84db7316289176cf43ddb8366ecfaf614130f8b1018931a92b96d16a97f231da6fdd1d8c1bd95ddd50f4b93d82ff87affbbd1162c894b1f302f27d4f') +_distdir="Unicode-Map-0.112" build() { - cd $startdir/src/Unicode-Map-$pkgver - eval `perl -V:archname` - PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \ - INSTALLDIRS=vendor || return 1 - - /usr/bin/make || return 1 - /usr/bin/make DESTDIR=$startdir/pkg install || return 1 - /usr/bin/find $startdir/pkg -name '.packlist' -delete - /usr/bin/find $startdir/pkg -name '*.pod' -delete + ( 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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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-unicode-string/PKGBUILD b/abs/core/perl_modules/perl-unicode-string/PKGBUILD index 06ebb3e..1ff763b 100644 --- a/abs/core/perl_modules/perl-unicode-string/PKGBUILD +++ b/abs/core/perl_modules/perl-unicode-string/PKGBUILD @@ -1,28 +1,33 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: James Rayner <iphitus@gmail.com> +# Maintainer: Simon Perry <aur [at] sanxion [dot] net> +# Contributor: James Rayner <iphitus@gmail.com> # Contributor: Andrew Simmons <andrew.simmons@gmail.com> pkgname=perl-unicode-string _realname=Unicode-String -pkgver=2.09 +pkgver=2.10 pkgrel=3 pkgdesc="String of Unicode characters for perl (UCS2/UTF16)" -arch=(i686 x86_64) +arch=('arm' 'armv6h' 'armv7h' 'i686' 'x86_64') license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') +depends=('perl') options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz) -md5sums=('553e68e603723bf7c631f8701ab0d678') +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/GAAS/${_realname}-${pkgver}.tar.gz) +sha256sums=('894a110ece479546af8afec0972eec7320c86c4dea4e6b354dff3c7526ba9b68') 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 "${srcdir}/${_realname}-${pkgver}" + # in stall module in vendor directories. + PERL_MM_USE_DEFAULT=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-unicode-utf8simple/PKGBUILD b/abs/core/perl_modules/perl-unicode-utf8simple/PKGBUILD index a5b9dfb..b3fb861 100644 --- a/abs/core/perl_modules/perl-unicode-utf8simple/PKGBUILD +++ b/abs/core/perl_modules/perl-unicode-utf8simple/PKGBUILD @@ -1,23 +1,29 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Allan McRae <mcrae_allan@hotmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-unicode-utf8simple pkgver=1.06 -pkgrel=2 +pkgrel=6 pkgdesc="Conversions to/from UTF8 from/to characterse" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~GUS/Unicode-UTF8simple" +arch=('any') +url="http://search.cpan.org/dist/Unicode-UTF8simple" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/G/GU/GUS/Unicode-UTF8simple-$pkgver.tar.gz) -md5sums=('1d90907170ed41690a572a2d6ed6e7da') +source=(https://www.cpan.org/authors/id/G/GU/GUS/Unicode-UTF8simple-$pkgver.tar.gz) +sha256sums=('e1249ac08daceb8a83c170c00810001f15d73418e9595711bee663d0130c0fe5') build() { - cd $startdir/src/Unicode-UTF8simple-$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"/Unicode-UTF8simple-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Unicode-UTF8simple-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-uri/PKGBUILD b/abs/core/perl_modules/perl-uri/PKGBUILD index 7f18b32..c6b5531 100644 --- a/abs/core/perl_modules/perl-uri/PKGBUILD +++ b/abs/core/perl_modules/perl-uri/PKGBUILD @@ -1,21 +1,22 @@ -# $Id: PKGBUILD 140684 2011-10-18 03:20:44Z eric $ -# Maintainer: eric <eric@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> # Contributor: Manolis Tzanidakis # Contributor: Firmicus <francois.archlinux.org> pkgname=perl-uri _realname=URI -pkgver=1.59 +pkgver=1.74 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') +depends=('perl') +checkdepends=('perl-test-needs') 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') +source=("http://cpan.metacpan.org/authors/id/E/ET/ETHER/${_realname}-${pkgver}.tar.gz") +sha512sums=('b537bd09c355989a2bb1919e2c228cf189e57f993add4246fa482d8ee5ec814266c6fb3229befce2f294456ee784a819d9a54013c43a2ad41b5d8914fabf046b') build() { cd "${srcdir}/${_realname}-$pkgver" @@ -24,6 +25,11 @@ build() { make } +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} + package() { cd "${srcdir}/${_realname}-$pkgver" make install DESTDIR="${pkgdir}" diff --git a/abs/core/perl_modules/perl-variable-magic/PKGBUILD b/abs/core/perl_modules/perl-variable-magic/PKGBUILD new file mode 100644 index 0000000..e13315d --- /dev/null +++ b/abs/core/perl_modules/perl-variable-magic/PKGBUILD @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> +# Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com> +# Contributor: Justin Davis <jrcd83@gmail.com> + +pkgname="perl-variable-magic" +_cpanname="Variable-Magic" +pkgver=0.62 +pkgrel=1 +pkgdesc="Associate user-defined magic to variables from Perl." +arch=("x86_64") +license=("PerlArtistic" "GPL") +options=("!emptydirs") +depends=("perl") +url="http://search.cpan.org/dist/$_cpanname" +source=("http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/$_cpanname-$pkgver.tar.gz") + +# Function to change to the working directory and set +# environment variables to override undesired options. +prepareEnvironment() { + cd "$srcdir/$_cpanname-$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" +} +sha256sums=('3f9a18517e33f006a9c2fc4f43f01b54abfe6ff2eae7322424f31069296b615c') + +build() { + prepareEnvironment + /usr/bin/perl Makefile.PL + make +} + +check() { + prepareEnvironment + make test +} + +package() { + prepareEnvironment + make install + + # Remove "perllocal.pod" and ".packlist". + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} diff --git a/abs/core/perl_modules/perl-wsdl/PKGBUILD b/abs/core/perl_modules/perl-wsdl/PKGBUILD index e2c580f..9e51bd3 100644 --- a/abs/core/perl_modules/perl-wsdl/PKGBUILD +++ b/abs/core/perl_modules/perl-wsdl/PKGBUILD @@ -1,6 +1,6 @@ pkgname=perl-wsdl pkgver=3.003 -pkgrel=1 +pkgrel=2 pkgdesc="SOAP-WSDL provides a SOAP client with WSDL support" arch=(any) url="http://search.cpan.org/~swalters/SOAP-WSDL/" diff --git a/abs/core/perl_modules/perl-www-mechanize/PKGBUILD b/abs/core/perl_modules/perl-www-mechanize/PKGBUILD index ea4e61b..6b76209 100644 --- a/abs/core/perl_modules/perl-www-mechanize/PKGBUILD +++ b/abs/core/perl_modules/perl-www-mechanize/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 66104 2012-02-23 01:05:44Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-www-mechanize -pkgver=1.72 +pkgver=1.88 pkgrel=1 pkgdesc="Automates web page form & link interaction" arch=(any) @@ -12,14 +12,18 @@ license=('GPL' 'PerlArtistic') 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://search.cpan.org/CPAN/authors/id/J/JE/JESSE/WWW-Mechanize-$pkgver.tar.gz) -md5sums=('231709669de7d912185b91e454206532') +source=(http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/WWW-Mechanize-$pkgver.tar.gz) +sha256sums=('36d97e778ab911ab5a762d551541686cbf3463c571f474322f7b5da77f50a879') build() { - cd $srcdir/WWW-Mechanize-$pkgver + 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 +} + +package() { + cd "$srcdir"/WWW-Mechanize-$pkgver + 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 index 790cf73..94d7f6e 100644 --- a/abs/core/perl_modules/perl-www-robotrules/PKGBUILD +++ b/abs/core/perl_modules/perl-www-robotrules/PKGBUILD @@ -1,49 +1,30 @@ -# Packager: Justin "juster" Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 150764 2012-02-21 20:29:03Z juster $ +# $Id$ +# Maintainer: Eric Bélanger <eric@archlinux.org> 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}" +pkgrel=4 +pkgdesc="Database of robots.txt-derived permissions" +arch=('any') +url="https://metacpan.org/release/WWW-RobotRules" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-uri') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-${pkgver}.tar.gz) +sha1sums=('e158e6559307878b32d8e4c241bf257c2bc88ebb') -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 -) +build() { + cd "${srcdir}/WWW-RobotRules-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} -check() -( - export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test -) +check() { + cd "${srcdir}/WWW-RobotRules-${pkgver}" + make test +} package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd "${srcdir}/WWW-RobotRules-${pkgver}" + 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-x10/PKGBUILD b/abs/core/perl_modules/perl-x10/PKGBUILD index 51283d5..bfcfaa1 100644 --- a/abs/core/perl_modules/perl-x10/PKGBUILD +++ b/abs/core/perl_modules/perl-x10/PKGBUILD @@ -1,30 +1,50 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Contributor: Ross melin <rdmelin@gmail.com> +# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.29 -# Required by zoneminder - -pkgname=perl-x10 -pkgver=0.03 -pkgrel=2 -pkgdesc="X10" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~ROBF/X10" -license=('GPL' 'PerlArtistic') -depends=('perl-astro-suntime>=0.01' 'perl-device-serialport' 'perl-time-modules') +pkgname='perl-x10' +pkgver='0.03' +pkgrel='3' +pkgdesc="Manage X10 devices in Perl" +arch=('any') +license=('PerlArtistic' 'GPL') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/R/RO/ROBF/X10-$pkgver.tar.gz) +depends=('perl-astro-suntime>=0.01' 'perl-device-serialport' 'perl-time-modules') +makedepends=() +url='http://search.mcpan.org/dist/X10' +source=('http://search.mcpan.org/CPAN/authors/id/R/RO/ROBF/X10-0.03.tar.gz') md5sums=('056b3d98fab545865148b948de6784c7') +sha512sums=('6ed2b9526732dc5f704ceb94f3a9abb51c208aabb6f127480046ce1f01ecf763e4de2dcb5bf52ef598831dbd5ba78ff9d108238001070076b0cc05c7681dea2f') +_distdir="X10-0.03" build() { - cd $startdir/src/X10-$pkgver - eval `perl -V:archname` - PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \ - INSTALLDIRS=vendor || return 1 - - /usr/bin/make || return 1 - /usr/bin/make DESTDIR=$startdir/pkg install || return 1 - /usr/bin/find $startdir/pkg -name '.packlist' -delete - /usr/bin/find $startdir/pkg -name '*.pod' -delete + ( 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 "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make 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 07e39f2..767a9c0 100644 --- a/abs/core/perl_modules/perl-xml-dom/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-dom/PKGBUILD @@ -1,14 +1,16 @@ -# Maintainer: kfgz <kfgz at interia pl> +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: kfgz <kfgz at interia pl> # Contributor: François Charette <firmicus at gmx dot net> pkgname=perl-xml-dom pkgver=1.44 -pkgrel=7 +pkgrel=9 pkgdesc="Implements Level 1 of W3's DOM" arch=('i686' 'x86_64') 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') +#'perlxml>=2.30' +depends=('perl>=5.10.0' 'perl-xml-regexp' 'libxml-perl>=0.07' 'perl-libwww') options=('!emptydirs') source=(http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-DOM-${pkgver}.tar.gz) md5sums=('1ec2032a06e5762984f7a332c199c205') @@ -19,9 +21,20 @@ build() { make } +_perl_depends() { +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} + package() { cd ${srcdir}/XML-DOM-${pkgver} make install DESTDIR=${pkgdir} find ${pkgdir} -name '.packlist' -delete find ${pkgdir} -name '*.pod' -delete + _perl_depends } diff --git a/abs/core/perl_modules/perl-xml-libxml/PKGBUILD b/abs/core/perl_modules/perl-xml-libxml/PKGBUILD index 24c6acd..ad82aab 100644 --- a/abs/core/perl_modules/perl-xml-libxml/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-libxml/PKGBUILD @@ -1,29 +1,44 @@ -# Maintainer: François Charette <francois.archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin "juster" Davis <jrcd83@gmail.com> +# Contributor: François Charette <francois.archlinux.org> pkgname=perl-xml-libxml -pkgver=1.70 -pkgrel=2 +pkgver=2.0132 +pkgrel=1 pkgdesc="Interface to the libxml library" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://search.cpan.org/dist/XML-LibXML" license=('GPL') -depends=('libxml2' 'perl-xml-sax>=0.11' 'perl-xml-namespacesupport>=1.07') +depends=('libxml2' 'perl-xml-sax' 'perl-xml-namespacesupport') +checkdepends=('perl-test-pod' 'perl-test-leaktrace' 'perl-cpan-changes' 'perl-uri') provides=('perl-libxml' 'perl-xml-libxml-common') replaces=('perl-libxml' 'perl-xml-libxml-common') -conflicts=('perl-libxml' 'perl-xml-libxml-common') -install=perl-xml-libxml.install options=('!emptydirs') -source=(http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-$pkgver.tar.gz) +install=perl-xml-libxml.install +source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz) +sha512sums=('3df1cb67ea955133492f2b6f8def2b28079c59e99170a31820aca69ea81686c4b67171509f1b311faab9389d200c4a24942b3950d7c0730ff1233a009b398fce') build() { - cd $srcdir/XML-LibXML-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + cd "$srcdir"/XML-LibXML-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } + +check() { + cd "$srcdir"/XML-LibXML-$pkgver + make test +} + package() { - cd $srcdir/XML-LibXML-$pkgver - make pure_install doc_install DESTDIR=$pkgdir || return 1 - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + cd "$srcdir"/XML-LibXML-$pkgver + make pure_install doc_install DESTDIR="$pkgdir"/ +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } -md5sums=('33d4294f708e20c298cfe534d1166844') diff --git a/abs/core/perl_modules/perl-xml-libxml/perl-xml-libxml.install b/abs/core/perl_modules/perl-xml-libxml/perl-xml-libxml.install index e92cacc..3a8eb1e 100644 --- a/abs/core/perl_modules/perl-xml-libxml/perl-xml-libxml.install +++ b/abs/core/perl_modules/perl-xml-libxml/perl-xml-libxml.install @@ -1,26 +1,23 @@ -# Maintainer: François Charette <francois.archlinux.org> +post_install() { + echo ":: Installing SAX XML Parsers" + perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" + perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" +} -pkgname=perl-xml-libxml -pkgver=1.70 -pkgrel=2 -pkgdesc="Interface to the libxml library" -arch=('i686' 'x86_64') -url="http://search.cpan.org/dist/XML-LibXML" -license=('GPL') -depends=('libxml2' 'perl-xml-sax>=0.11' 'perl-xml-namespacesupport>=1.07') -provides=('perl-libxml' 'perl-xml-libxml-common') -replaces=('perl-libxml' 'perl-xml-libxml-common') -conflicts=('perl-libxml' 'perl-xml-libxml-common') -install=perl-xml-libxml.install -options=('!emptydirs') -source=(http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-$pkgver.tar.gz) +post_upgrade() { + if [[ ! -f /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]]; then + post_install + else + libxmlcount=`grep -c XML::LibXML::SAX /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini` + if [[ $libxmlcount == 0 ]]; then + post_install + fi + fi +} -build() { - cd $srcdir/XML-LibXML-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make pure_install doc_install DESTDIR=$pkgdir || return 1 - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +pre_remove() { + if [[ -f /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]]; then + perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" + perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::LibXML::SAX))->save_parsers()" + fi } -md5sums=('33d4294f708e20c298cfe534d1166844') diff --git a/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD b/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD index 708898b..69b9301 100644 --- a/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD @@ -1,30 +1,41 @@ -# Id:$ -# Maintainer: François Charette <firmicus ατ gmx δοτ net> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin "juster" Davis <jrcd83@gmail.com> +# Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-xml-libxslt -pkgver=1.70 -pkgrel=6 -pkgdesc="Interface to the gnome libxslt library " -arch=('i686' 'x86_64') +pkgver=1.96 +pkgrel=1 +pkgdesc="Interface to the gnome libxslt library" +arch=('x86_64') url="http://search.cpan.org/dist/XML-LibXSLT" license=('GPL') depends=('perl-xml-libxml' 'libxslt') -source=(http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXSLT-$pkgver.tar.gz) -md5sums=('c63a7913999de076e5c911810f69b392') +checkdepends=('perl-test-pod') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-$pkgver.tar.gz) +sha512sums=('7b6e22889c538bbd861c6420cd56893d229676d3afc1cf30e17cae48a4714139769a99a48a99f1dff52864f4989e410303007c07941625bf6bd12a24276c35e6') build() { - cd $srcdir/XML-LibXSLT-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd XML-LibXSLT-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make } -check () { - cd $srcdir/XML-LibXSLT-$pkgver +check() { + cd XML-LibXSLT-$pkgver make test } package() { - cd $srcdir/XML-LibXSLT-$pkgver - make install DESTDIR=$pkgdir + cd XML-LibXSLT-$pkgver + make DESTDIR="$pkgdir" install +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } - diff --git a/abs/core/perl_modules/perl-xml-namespacesupport/PKGBUILD b/abs/core/perl_modules/perl-xml-namespacesupport/PKGBUILD index a641a81..6f5b6e3 100644 --- a/abs/core/perl_modules/perl-xml-namespacesupport/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-namespacesupport/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 143952 2011-11-30 22:08:16Z giovanni $ +# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-xml-namespacesupport -pkgver=1.11 +pkgver=1.12 pkgrel=2 pkgdesc="Generic namespace helpers (ported from SAX2)" arch=('any') @@ -12,7 +12,7 @@ license=('GPL') depends=('perl') options=('!emptydirs') source=("http://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-${pkgver}.tar.gz") -md5sums=('222cca76161cd956d724286d36b607da') +md5sums=('a8916c6d095bcf073e1108af02e78c97') build() { cd "${srcdir}/XML-NamespaceSupport-${pkgver}" diff --git a/abs/core/perl_modules/perl-xml-parser/PKGBUILD b/abs/core/perl_modules/perl-xml-parser/PKGBUILD index 3e2a9db..f790eca 100644 --- a/abs/core/perl_modules/perl-xml-parser/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-parser/PKGBUILD @@ -1,42 +1,38 @@ -# $Id: PKGBUILD 160565 2012-06-02 10:28:38Z bluewind $ -# Maintainer: -# Contributor: firmicus <francois@archlinux.org> -# Contributor: dorphell <dorphell@archlinux.org> -# Contributor: herb <hrose@archlinux.org> +# $Id$ +# Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=perl-xml-parser -_realname=XML-Parser -pkgver=2.41 -pkgrel=3 +pkgver=2.44 +pkgrel=6 pkgdesc="Expat-based XML parser module for perl" -arch=('i686' 'x86_64') +arch=('x86_64') license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" +url="http://search.cpan.org/dist/XML-Parser/" depends=('perl' 'expat') -replaces=('perlxml') -provides=("perlxml=${pkgver}") options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/${_realname}-${pkgver}.tar.gz") -md5sums=('c320d2ffa459e6cdc6f9f59c1185855e') +source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${pkgver}.tar.gz") +sha1sums=('0ab6b932713ec1f9927a1b1c619b6889a5c12849') build() { - cd "${srcdir}/${_realname}-${pkgver}" - - # install module in vendor directories. + cd XML-Parser-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_realname}-${pkgver}" + cd XML-Parser-${pkgver} make test } package() { - cd "${srcdir}/${_realname}-${pkgver}" - make install DESTDIR="${pkgdir}" + cd XML-Parser-${pkgver} + make DESTDIR="${pkgdir}" install - # remove perllocal.pod and .packlist. - find "${pkgdir}" -name perllocal.pod -delete - find "${pkgdir}" -name .packlist -delete +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-xml-regexp/PKGBUILD b/abs/core/perl_modules/perl-xml-regexp/PKGBUILD index 639ee87..e94119f 100644 --- a/abs/core/perl_modules/perl-xml-regexp/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-regexp/PKGBUILD @@ -2,16 +2,16 @@ # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-xml-regexp -pkgver=0.03 -pkgrel=7 +pkgver=0.04 +pkgrel=3 pkgdesc="Regular expressions for XML tokens" arch=('any') url="http://search.cpan.org/dist/XML-RegExp" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') -source=("http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-${pkgver}.tar.gz") -md5sums=('5826b24e0d05714e25c2bb04e1f1c09b') +source=("https://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-${pkgver}.tar.gz") +sha256sums=('df1990096036085c8e2d45904fe180f82bfed40f1a7e05243f334ea10090fc54') build() { cd XML-RegExp-${pkgver} @@ -24,8 +24,8 @@ build() { package() { cd XML-RegExp-${pkgver} - make install DESTDIR=${pkgdir} + make install DESTDIR="$pkgdir" - find ${pkgdir} -name '.packlist' -delete - find ${pkgdir} -name '*.pod' -delete + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-xml-rss/PKGBUILD b/abs/core/perl_modules/perl-xml-rss/PKGBUILD index 0178106..4911253 100644 --- a/abs/core/perl_modules/perl-xml-rss/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-rss/PKGBUILD @@ -1,29 +1,27 @@ -# $Id: PKGBUILD 65992 2012-02-22 14:14:06Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-xml-rss -pkgver=1.49 -pkgrel=2 +pkgver=1.60 +pkgrel=1 pkgdesc="Parse or create Rich Site Summaries (RSS)" arch=('any') url="http://search.cpan.org/dist/XML-RSS" license=('GPL' 'PerlArtistic') depends=('perl-datetime' 'perl-datetime-format-mail' 'perl-datetime-format-w3cdtf' - 'perl-html-parser' 'perlxml>=2.23') + 'perl-html-parser' 'perl-xml-parser') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-RSS-$pkgver.tar.gz) -md5sums=('b22c5ca9c226ca7b7698a9387f2f1908') +sha256sums=('4b3359878bb1a2bc06dae7ed17b00143a2b89c814b8b12f6e2780f35b1528677') build() { - cd $srcdir/XML-RSS-$pkgver + cd "$srcdir"/XML-RSS-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd $srcdir/XML-RSS-$pkgver - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + cd "$srcdir"/XML-RSS-$pkgver + make install DESTDIR="$pkgdir" } diff --git a/abs/core/perl_modules/perl-xml-sax-base/PKGBUILD b/abs/core/perl_modules/perl-xml-sax-base/PKGBUILD index 7e3ae07..d304e33 100644 --- a/abs/core/perl_modules/perl-xml-sax-base/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-sax-base/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 143954 2011-11-30 22:11:53Z giovanni $ +# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: James Hunt <lazy at brandnewmath dot com> pkgname=perl-xml-sax-base -pkgver=1.08 +pkgver=1.09 pkgrel=2 pkgdesc="Base class SAX Drivers and Filters" arch=('any') @@ -12,7 +12,7 @@ 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') +md5sums=('ec347a14065dd7aec7d9fb181b2d7946') build() { cd $srcdir/XML-SAX-Base-$pkgver diff --git a/abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD b/abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD new file mode 100644 index 0000000..2baf727 --- /dev/null +++ b/abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Francois Charette <firmicus@gmx.net> + +pkgname=perl-xml-sax-expat +pkgver=0.51 +pkgrel=5 +pkgdesc="SAX2 Driver for Expat (XML::Parser) " +arch=('any') +url="http://search.cpan.org/dist/XML-SAX-Expat" +license=('GPL' 'PerlArtistic') +depends=('perl-xml-namespacesupport' 'perl-xml-parser' 'perl-xml-sax') +install=perl-xml-sax-expat.install +options=('!emptydirs') +source=(https://www.cpan.org/authors/id/B/BJ/BJOERN/XML-SAX-Expat-$pkgver.tar.gz) +sha256sums=('4c016213d0ce7db2c494e30086b59917b302db8c292dcd21f39deebd9780c83f') + +build() { + cd "$srcdir"/XML-SAX-Expat-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package(){ + cd "$srcdir"/XML-SAX-Expat-$pkgver + make pure_install doc_install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} diff --git a/abs/core/perl_modules/perl-xml-sax-expat/perl-xml-sax-expat.install b/abs/core/perl_modules/perl-xml-sax-expat/perl-xml-sax-expat.install new file mode 100644 index 0000000..a95c9e3 --- /dev/null +++ b/abs/core/perl_modules/perl-xml-sax-expat/perl-xml-sax-expat.install @@ -0,0 +1,17 @@ +post_install() { +if [ ! -r /usr/lib/perl5/site_perl/current/XML/SAX/ParserDetails.ini ]; then + perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()" +fi +} + +post_upgrade() { +if [ ! -r /usr/lib/perl5/site_perl/current/XML/SAX/ParserDetails.ini ]; then + perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()" +fi +} + +pre_remove() { + if [[ -f /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]]; then + perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::SAX::Expat))->save_parsers()" + fi +} diff --git a/abs/core/perl_modules/perl-xml-sax/PKGBUILD b/abs/core/perl_modules/perl-xml-sax/PKGBUILD index 394b72f..39b6194 100644 --- a/abs/core/perl_modules/perl-xml-sax/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-sax/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 143956 2011-11-30 22:15:20Z giovanni $ +# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-xml-sax -pkgver=0.99 -pkgrel=3 +pkgver=1.00 +pkgrel=1 pkgdesc="Simple API for XML" arch=('any') url="http://search.cpan.org/dist/XML-SAX" @@ -12,27 +12,24 @@ license=('GPL' 'PerlArtistic') 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=('290f5375ae87fdebfdb5bc3854019f24' - 'f114c4aad3221d3e7d8314d13b84a869') +source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz") +sha512sums=('95553c9693d8a310747b4b86d4e80a58d4056b18cfc334f6979c98d0e9034a34253bfb17daecfc5bb28b1bd65e6baf52136f5135a969fadba86aa4148ea9bc1d') build() { - cd $srcdir/XML-SAX-$pkgver - patch -Np1 -i "${srcdir}/perl-xml-sax.patch" + cd XML-SAX-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd $srcdir/XML-SAX-$pkgver + cd XML-SAX-$pkgver make test } package() { - cd $srcdir/XML-SAX-$pkgver - make install DESTDIR=$pkgdir + cd XML-SAX-$pkgver + PERLLIB=blib/lib make install DESTDIR="$pkgdir" - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } 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 deleted file mode 100644 index 880468b..0000000 --- a/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- 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(@_); -- -- # Only modify existing ParserDetails.ini if user agrees -- -- my $write_ini_ok = 0; -- -- eval { require XML::SAX }; -- if ($@) { -- $write_ini_ok = 1; -- } -- else { -- my $dir = File::Basename::dirname($INC{'XML/SAX.pm'}); -- if (-e File::Spec->catfile($dir, 'SAX', 'ParserDetails.ini')) { -- $write_ini_ok = -- ExtUtils::MakeMaker::prompt( -- "Do you want XML::SAX to alter ParserDetails.ini?", "Y" -- ) =~ /^y/i; -- } -- else { -- $write_ini_ok = 1; -- } -- } -- -- if ($write_ini_ok) { -- $script =~ s/install :: (.*)$/install :: $1 install_sax_pureperl/m; -- $script .= <<"INSTALL"; -- --install_sax_pureperl : --\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" -- --INSTALL -- -- } -- -- return $script; --} -- diff --git a/abs/core/perl_modules/perl-xml-simple/PKGBUILD b/abs/core/perl_modules/perl-xml-simple/PKGBUILD index 5d5b910..7c4af54 100644 --- a/abs/core/perl_modules/perl-xml-simple/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-simple/PKGBUILD @@ -1,27 +1,33 @@ -# $Id: PKGBUILD 87823 2010-08-18 11:13:59Z jgc $ -# Maintainer: Jan de Groot <jgc@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: kleptophobiac@gmail.com pkgname=perl-xml-simple _realname=XML-Simple -pkgver=2.18 -pkgrel=3 +pkgver=2.25 +pkgrel=1 pkgdesc="Simple XML parser for perl" -arch=(any) +arch=('any') license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl-xml-parser' 'perl>=5.10.0') +depends=('perl-xml-sax-expat') options=('!emptydirs') -source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz) -md5sums=('593aa8001e5c301cdcdb4bb3b63abc33') +source=("ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz") +sha512sums=('0f1a6a1bdb8f6ac6fa4deef33d09930eb4758b4a3ed4431624004ffa2b1eb02f0d6ce14cb4942162cb76f7aa39fea4ec6a71e1eb9ebd464b710db7024bdd990c') build() { cd "${srcdir}/${_realname}-${pkgver}" perl Makefile.PL INSTALLDIRS=vendor make } + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} + package() { cd "${srcdir}/${_realname}-${pkgver}" make DESTDIR="${pkgdir}" install } - diff --git a/abs/core/perl_modules/perl-xml-simple/__changelog b/abs/core/perl_modules/perl-xml-simple/__changelog deleted file mode 100644 index 93bb26d..0000000 --- a/abs/core/perl_modules/perl-xml-simple/__changelog +++ /dev/null @@ -1 +0,0 @@ -change perl dep to 'perl>=5.10.0' diff --git a/abs/core/perl_modules/perl-xml-treepp/PKGBUILD b/abs/core/perl_modules/perl-xml-treepp/PKGBUILD index a935963..04e55c6 100644 --- a/abs/core/perl_modules/perl-xml-treepp/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-treepp/PKGBUILD @@ -2,7 +2,7 @@ pkgname=perl-xml-treepp _authorpath=K/KA/KAWASAKI # this is uggly pkgver=0.43 -pkgrel=2 +pkgrel=3 pkgdesc='XML::TreePP module parses an XML document and expands it for a hash tree.' _dist=XML-TreePP arch=('any') diff --git a/abs/core/perl_modules/perl-xml-twig/PKGBUILD b/abs/core/perl_modules/perl-xml-twig/PKGBUILD index b8be295..13e8acf 100644 --- a/abs/core/perl_modules/perl-xml-twig/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-twig/PKGBUILD @@ -1,33 +1,31 @@ -# $Id: PKGBUILD 162138 2012-06-22 05:50:38Z eric $ -# Maintainer: damir <damir@archlinux.org> -# Maintainer/Contributor: Francois Charette <firmicus@gmx.net> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-xml-twig -_realname=XML-Twig -pkgver=3.40 -pkgrel=1 +pkgver=3.52 +pkgrel=3 pkgdesc="A module for easy processing of XML" arch=('any') -url="http://search.cpan.org/dist/${_realname}/" +url="http://search.cpan.org/dist/XML-Twig/" license=('GPL' 'PerlArtistic') depends=('perl-xml-parser' 'perl-text-iconv' 'perl') -checkdepends=('perl-libwww' 'perl-test-pod' 'perl-xml-simple' 'perl-html-tree') +checkdepends=('perl-libwww' 'perl-test-pod' 'perl-xml-simple' 'perl-html-tree' 'perl-xml-xpath' 'perl-tie-ixhash') options=('!emptydirs') -source=("http://www.cpan.org/authors/id/M/MI/MIROD/${_realname}-${pkgver}.tar.gz") -sha1sums=('37fec67bd2c60d53e861f13a64c1c9e0426858c2') +source=("http://www.cpan.org/authors/id/M/MI/MIROD/XML-Twig-${pkgver}.tar.gz") +sha1sums=('ce4ad6f055ea677ab5526e55677faffcc6457eb8') build() { - cd "${srcdir}/${_realname}-${pkgver}" + cd XML-Twig-${pkgver} perl Makefile.PL -y INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_realname}-${pkgver}" - make test + cd XML-Twig-${pkgver} + make test || warning "Tests failed" } package() { - cd "${srcdir}/${_realname}-${pkgver}" + cd XML-Twig-${pkgver} make DESTDIR="${pkgdir}" install } diff --git a/abs/core/perl_modules/perl-xml-writer/PKGBUILD b/abs/core/perl_modules/perl-xml-writer/PKGBUILD index 2e4496a..8defa63 100644 --- a/abs/core/perl_modules/perl-xml-writer/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-writer/PKGBUILD @@ -1,23 +1,32 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id$ +# Maintainer: Justin Davis <jrcd83@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-xml-writer -pkgver=0.604 -pkgrel=1 +pkgver=0.625 +pkgrel=3 pkgdesc="Module for writing XML documents" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~JOSEPHW/XML-Writer" -license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +arch=('any') +url="http://search.cpan.org/dist/XML-Writer" +license=('custom') +depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-$pkgver.tar.gz) -md5sums=('88cd8aec7da39028c2aaf809265a8d68') +source=(https://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-$pkgver.tar.gz) +sha256sums=('e080522c6ce050397af482665f3965a93c5d16f5e81d93f6e2fe98084ed15fbe') build() { - cd $startdir/src/XML-Writer-$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-Writer-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd XML-Writer-$pkgver + make test +} + +package() { + cd XML-Writer-$pkgver + make DESTDIR="${pkgdir}" install + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/abs/core/perl_modules/perl-xml-xpath/PKGBUILD b/abs/core/perl_modules/perl-xml-xpath/PKGBUILD index fddb97d..81ae23a 100644 --- a/abs/core/perl_modules/perl-xml-xpath/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-xpath/PKGBUILD @@ -1,23 +1,30 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Contributor: François Charette <firmicus ατ gmx δοτ net> +# $Id$ +#Maintainer: pkgname=perl-xml-xpath -pkgver=1.13 -pkgrel=4 -pkgdesc="A set of modules for parsing and evaluating" -arch=('i686' 'x86_64') -url="http://search.cpan.org/dist/XML-XPath" -license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0' 'perlxml>=2.23') +pkgver=1.42 +pkgrel=1 +pkgdesc="A set of modules for parsing and evaluating XPath statements" +arch=('any') +url="https://metacpan.org/release/XML-XPath" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-xml-parser') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-XPath-$pkgver.tar.gz) -md5sums=('b5919d9220d83982feb6e2321850c5d7') +source=("https://cpan.metacpan.org/authors/id/M/MA/MANWAR/XML-XPath-$pkgver.tar.gz") +sha1sums=('addb3668a25ba45b7242bd2ff78a1f704d6edf14') build() { - cd $startdir/src/XML-XPath-$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-XPath-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/XML-XPath-${pkgver}" +# make test +} + +package() { + cd "${srcdir}/XML-XPath-${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 1b3f73a..8acadac 100644 --- a/abs/core/perl_modules/perl-yaml-syck/PKGBUILD +++ b/abs/core/perl_modules/perl-yaml-syck/PKGBUILD @@ -1,37 +1,38 @@ -# $Id: PKGBUILD 160567 2012-06-02 10:28:42Z bluewind $ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman -# Maintainer: kevin <kevin@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-yaml-syck -_realname=YAML-Syck -pkgver=1.20 -pkgrel=2 +pkgver=1.30 +pkgrel=4 pkgdesc="Fast, lightweight YAML loader and dumper" -arch=('i686' 'x86_64') -license=('custom') -url="http://search.cpan.org/dist/${_realname}/" +arch=('x86_64') +url="http://search.cpan.org/dist/YAML-Syck/" +license=('BSD' 'custom') depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/T/TO/TODDR/${_realname}-$pkgver.tar.gz) -md5sums=('8f6d04ee5817b8479e1234264a8d458d') +source=(http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-$pkgver.tar.gz) +sha512sums=('3c38c77589c12652b456ad95120b3223df9e96475a9478692511bf6207ce81bc61204feaa332dbd913d934c41cf5d6515420961b31c20c9fe245373e81ecdda4') build() { - cd "${srcdir}/${_realname}-$pkgver" - - # install module in vendor directories. + cd YAML-Syck-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_realname}-$pkgver" + cd YAML-Syck-$pkgver make test } package() { - cd "${srcdir}/${_realname}-$pkgver" + cd YAML-Syck-$pkgver make install DESTDIR="${pkgdir}" - - # license. install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; } diff --git a/abs/core/perl_modules/perl-yaml-tiny/PKGBUILD b/abs/core/perl_modules/perl-yaml-tiny/PKGBUILD new file mode 100644 index 0000000..3759296 --- /dev/null +++ b/abs/core/perl_modules/perl-yaml-tiny/PKGBUILD @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: AUR Perl <aurperl@juster.info> +# Generator : CPANPLUS::Dist::Arch 1.15 + +pkgname=perl-yaml-tiny +pkgver=1.73 +pkgrel=1 +pkgdesc="Read/Write YAML files with as little code as possible" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +checkdepends=('perl-cpan-meta>=2.150001' 'perl-pod-coverage') +url='http://search.cpan.org/dist/YAML-Tiny' +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/YAML-Tiny-$pkgver.tar.gz") +sha512sums=('5999e220025aa8076e5e0e9e73e80c2da21660e77f6744d73e8e29962221d02d33a36e9829c44abf7d4f45abae069d8e121c8019bd1600b7e64db5e54efd9987') + +build() { + cd "${srcdir}/YAML-Tiny-${pkgver}" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +check() { + cd "${srcdir}/YAML-Tiny-${pkgver}" + make test +} + +package() { + cd "${srcdir}/YAML-Tiny-${pkgver}" + make install DESTDIR="${pkgdir}" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# vim:set ts=2 sw=2 et: |