diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-01 04:11:20 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-01 04:11:20 -0300 |
commit | 6cbb4856878cd40a98b794d44c499ce24919ba9f (patch) | |
tree | 2519e02c824ebe19f49bca9c9e45c7d8542af72a /pcr | |
parent | b9c634c914000edcc3faba77b668a883582c386c (diff) |
add and update perl-* packages
Diffstat (limited to 'pcr')
35 files changed, 889 insertions, 68 deletions
diff --git a/pcr/perl-autovivification/PKGBUILD b/pcr/perl-autovivification/PKGBUILD new file mode 100644 index 000000000..b634d4e00 --- /dev/null +++ b/pcr/perl-autovivification/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor (Arch): Mateusz Krasowski <matkras@gmail.com> +# Contributor (Arch): Luigi ranghetti <ggranga@gmail.com> +# Generator (Arch): CPANPLUS::Dist::Arch 1.25 +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname='perl-autovivification' +pkgver='0.14' +pkgrel='1' +pkgdesc="Lexically disable autovivification." +arch=('i686' 'x86_64' 'mips64el') +license=('GPL1') +options=('!emptydirs') +depends=('perl>=5.8.3') +makedepends=() +url='http://search.cpan.org/dist/autovivification' +source=("http://www.cpan.org/authors/id/V/VP/VPIT/autovivification-$pkgver.tar.gz") +md5sums=('871ce0e9b93ef616da7cfa91dbd2772e') +_distdir="autovivification-$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/pcr/perl-business-isbn/PKGBUILD b/pcr/perl-business-isbn/PKGBUILD new file mode 100644 index 000000000..911006ab9 --- /dev/null +++ b/pcr/perl-business-isbn/PKGBUILD @@ -0,0 +1,41 @@ +# CPAN Name : Business::ISBN +# Contributor (Arch): Anton Leontiev <bunder /at/ t-25.ru> +# Generator (Arch): CPANPLUS::Dist::Arch 1.29 +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=perl-business-isbn +pkgver=2.09 +pkgrel=1 +pkgdesc='Perl package to work with International Standard Book Numbers' +arch=('any') +url='http://search.cpan.org/dist/Business-ISBN' +license=('GPL1') +depends=('perl' 'perl-business-isbn-data>=20140910' 'perl-uri') +source=(http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-$pkgver.tar.gz) +options=(!emptydirs) +md5sums=('5ebf339c409d99cdfa6f96974ef96780') + +sanitize() { + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 +} + +build() { + cd Business-ISBN-$pkgver + sanitize + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Business-ISBN-$pkgver + sanitize + make test +} + +package() { + cd Business-ISBN-$pkgver + sanitize + make install DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/pcr/perl-business-ismn/PKGBUILD b/pcr/perl-business-ismn/PKGBUILD new file mode 100644 index 000000000..92553304c --- /dev/null +++ b/pcr/perl-business-ismn/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor (Arch): John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator (Arch): CPANPLUS::Dist::Arch 1.29 +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname='perl-business-ismn' +pkgver='1.13' +pkgrel='1' +pkgdesc="work with International Standard Music Numbers" +arch=('any') +license=('GPL1') +options=('!emptydirs') +depends=('perl-tie-cycle>=1.21') +makedepends=() +url='http://search.mcpan.org/dist/Business-ISMN' +source=("http://search.mcpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISMN-$pkgver.tar.gz") +md5sums=('e8696a78b4aa8a99869fbb0625c5cc13') +sha512sums=('bad9fdfe16a6b62c823019af4162e0cb2f97dbda8cc5cad01ff3a6e80d22e5fa1d260ef410ad1393d03fc750f7976f06932ac948390cdeb995cc458e1d3cd984') +_distdir="Business-ISMN-$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/pcr/perl-business-issn/PKGBUILD b/pcr/perl-business-issn/PKGBUILD new file mode 100644 index 000000000..51789fbfb --- /dev/null +++ b/pcr/perl-business-issn/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor (Arch): 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 (Arch): CPANPLUS::Dist::Arch 1.25 +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname='perl-business-issn' +pkgver='0.91' +pkgrel='1' +pkgdesc="Work with International Standard Serial Numbers" +arch=('any') +license=('GPL1') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/Business-ISSN' +source=("http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISSN-$pkgver.tar.gz") +md5sums=('d1f609422d3a0ad5e301ae694d142fe4') +sha512sums=('5a7d098feda97088b89b58313c2f05555a0c15f3220fa7bf6d77428e38cc25dc747671813ec64c67ed90ac0f29de4c6aaeb846d7ff41ba1e8e54b4a24c6adb31') +_distdir="Business-ISSN-$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/pcr/perl-config-autoconf/PKGBUILD b/pcr/perl-config-autoconf/PKGBUILD new file mode 100644 index 000000000..440067e7b --- /dev/null +++ b/pcr/perl-config-autoconf/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor (Arch): John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator (Arch): CPANPLUS::Dist::Arch 1.29 +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname='perl-config-autoconf' +pkgver='0.311' +pkgrel='1' +pkgdesc="A module to implement some of AutoConf macros in pure perl." +arch=('any') +license=('GPL1') +options=('!emptydirs') +depends=('perl-capture-tiny') +makedepends=('sed' 'gawk' 'grep' 'bison' 'pkg-config' 'flex') +url='http://search.mcpan.org/dist/Config-AutoConf' +source=("http://search.mcpan.org/CPAN/authors/id/R/RE/REHSACK/Config-AutoConf-$pkgver.tar.gz") +md5sums=('456749ec964dceb5ae405650bc6e4f1c') +sha512sums=('c4d3dfdf908663a0917d5a51b581119696444ab3987fdb8cc5ef942f11b47f1063f7ff133b308fc3d7d0a0ed53e2186d9a7a1d2148208b140a8cb005d20cbae2') +_distdir="Config-AutoConf-$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/pcr/perl-crypt-dh/PKGBUILD b/pcr/perl-crypt-dh/PKGBUILD index 8b5779bdc..d0a091a2a 100644 --- a/pcr/perl-crypt-dh/PKGBUILD +++ b/pcr/perl-crypt-dh/PKGBUILD @@ -5,6 +5,7 @@ # Contributor (Arch): Charles Mauch <cmauch@gmail.com> # # Contributor (Arch): Pedro Alejandro López-Valencia <palopezv@gmail.com> +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname=perl-crypt-dh pkgver=0.07 @@ -13,9 +14,9 @@ pkgrel=3 pkgdesc='Perl/CPAN Module Crypt::DH: Diffie-Hellman key exchange system' _cpan_name=Crypt-DH-$pkgver -url=http://search.cpan.org/~mithaldu/$_cpan_name/lib/Crypt/DH.pm +url=http://search.cpan.org/~mithaldu/Crypt-DH -license=(GPL PerlArtistic) +license=('GPL1') source=("http://search.cpan.org/CPAN/authors/id/M/MI/MITHALDU/$_cpan_name.tar.gz") md5sums=(5494c91420bf77de4af808fcafb6c3ce) diff --git a/pcr/perl-data-compare/PKGBUILD b/pcr/perl-data-compare/PKGBUILD new file mode 100644 index 000000000..0b302ae9e --- /dev/null +++ b/pcr/perl-data-compare/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor (Arch): John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator (Arch): CPANPLUS::Dist::Arch 1.28 +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname='perl-data-compare' +pkgver='1.25' +pkgrel='1' +pkgdesc="compare perl data structures" +arch=('any') +license=('GPL2') +options=('!emptydirs') +depends=('perl-file-find-rule>=0.1') +makedepends=() +url='http://search.mcpan.org/dist/Data-Compare' +source=("http://search.mcpan.org/CPAN/authors/id/D/DC/DCANTRELL/Data-Compare-$pkgver.tar.gz") +md5sums=('45d56aa548581d7e4406f665c417d31e') +sha512sums=('3005dadba1c292770db363fcc951f4158bf1956a994a65afd1b4d631a505854188eefeb3f360afc719977b522014c66a749c7e898c85283de03ef76bec65a44c') +_distdir="Data-Compare-$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/pcr/perl-date-simple/PKGBUILD b/pcr/perl-date-simple/PKGBUILD new file mode 100644 index 000000000..2912557f7 --- /dev/null +++ b/pcr/perl-date-simple/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor (Arch): Andreas dot Wagner at em dot uni-frankfurt dot de +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname='perl-date-simple' +_perlname='Date-Simple' +pkgver='3.03' +pkgrel='2' +pkgdesc="A simple date object" +arch=('any') +url='http://search.cpan.org/~izut/Date-Simple' +license=('GPL2') +depends=('perl') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/I/IZ/IZUT/${_perlname}-${pkgver}.tar.gz") + +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}/${_perlname}-${pkgver}" + perl Makefile.PL + make +} + +test(){ + cd "${srcdir}/${_perlname}-${pkgver}" + make test +} + +package() { + 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}/${_perlname}-${pkgver}" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +md5sums=('436049dc2c7dfd8423d8bcc807248b31') diff --git a/pcr/perl-encode-eucjpascii/PKGBUILD b/pcr/perl-encode-eucjpascii/PKGBUILD new file mode 100644 index 000000000..3d4b2c06a --- /dev/null +++ b/pcr/perl-encode-eucjpascii/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor (Arch): Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=perl-encode-eucjpascii +pkgver=0.03 +pkgrel=1 +pkgdesc="Encode::EUCJPASCII - eucJP-ascii - An eucJP-open mapping" +arch=('any') +url="http://search.cpan.org/~nezumi/Encode-EUCJPASCII" +license=('GPL1') +depends=('perl') +options=(!emptydirs !zipman) +source=("http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/Encode-EUCJPASCII-$pkgver.tar.gz") + +build() { + cd "$srcdir/Encode-EUCJPASCII-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL + make +} + +package() { + cd "$srcdir/Encode-EUCJPASCII-$pkgver" + make DESTDIR=$pkgdir install +} + +md5sums=('5daa65f55b7c2050bb0713d9e95f239d') diff --git a/pcr/perl-encode-hanextra/PKGBUILD b/pcr/perl-encode-hanextra/PKGBUILD new file mode 100644 index 000000000..92f8f6065 --- /dev/null +++ b/pcr/perl-encode-hanextra/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor (Arch): Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=perl-encode-hanextra +pkgver=0.23 +pkgrel=1 +pkgdesc="Encode::HanExtra - Extra sets of Chinese encodings" +arch=('any') +url="http://search.cpan.org/~audreyt/Encode-HanExtra" +license=('MIT') +depends=('perl') +options=(!emptydirs !zipman) +source=("http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Encode-HanExtra-$pkgver.tar.gz") + +build() { + cd "$srcdir/Encode-HanExtra-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL + make +} + +package () { + cd "$srcdir/Encode-HanExtra-$pkgver" + make DESTDIR=$pkgdir install +} + +md5sums=('e1d3bc32c1c8ee304235a06fbcd5d5a4') diff --git a/pcr/perl-encode-jis2k/PKGBUILD b/pcr/perl-encode-jis2k/PKGBUILD new file mode 100644 index 000000000..58339f3bf --- /dev/null +++ b/pcr/perl-encode-jis2k/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor (Arch): Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=perl-encode-jis2k +pkgver=0.02 +pkgrel=1 +pkgdesc="Encode::JIS2K - JIS X 0212 (aka JIS 2000) Encodings" +arch=('any') +url="http://search.cpan.org/~dankogai/Encode-JIS2K" +license=('GPL1') +depends=('perl') +options=(!emptydirs !zipman) +source=("http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Encode-JIS2K-$pkgver.tar.gz") + +build() { + cd "$srcdir/Encode-JIS2K-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL + make +} + +package() { + cd "$srcdir/Encode-JIS2K-$pkgver" + make DESTDIR=$pkgdir install +} + +md5sums=('00e73ee943fb2f882b00b7b61e4c9db1') diff --git a/pcr/perl-expect/PKGBUILD b/pcr/perl-expect/PKGBUILD index da008dcfd..82eb3dd0c 100644 --- a/pcr/perl-expect/PKGBUILD +++ b/pcr/perl-expect/PKGBUILD @@ -1,23 +1,23 @@ -# CPAN Name : Expect +# CPAN Name : Expect # Contributor (Arch): Max Roder <maxroder@web.de> # Contributor (Arch): DarkHeart -# Generator : CPANPLUS::Dist::Arch 1.19 -# Maintainer: Márcio Silva <coadde@parabola.nu> +# Generator (Arch): CPANPLUS::Dist::Arch 1.19 +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname='perl-expect' -pkgver='1.21' -pkgrel='2' +pkgver='1.32' +pkgrel='1' pkgdesc="Perl version of Don Libes' Tcl-Expect" arch=('any') -license=('PerlArtistic' 'GPL') +license=('GPL1') options=('!emptydirs') depends=('perl-io-tty>=1.03') makedepends=() url='http://search.cpan.org/dist/Expect' -source=('http://search.cpan.org/CPAN/authors/id/R/RG/RGIERSIG/Expect-1.21.tar.gz') +source=("http://search.cpan.org/CPAN/authors/id/R/RG/RGIERSIG/Expect-$pkgver.tar.gz") md5sums=('a151b0dc4d1a35c73941c65b7c26da5b') sha512sums=('496716b9e6544e9d6809b7f704df8199291d18ec9ec9ebb4fd2b7b341aa10d9b03989335c1f22d1faddbff0974ceba5b2823685fa08ce6a75e2f3ccaeb944e74') -_distdir="${srcdir}/Expect-1.21" +_distdir="${srcdir}/Expect-$pkgver" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ diff --git a/pcr/perl-extutils-libbuilder/PKGBUILD b/pcr/perl-extutils-libbuilder/PKGBUILD new file mode 100644 index 000000000..8b632828c --- /dev/null +++ b/pcr/perl-extutils-libbuilder/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor (Arch): Andreas dot Wagner at em dot uni-frankfurt dot de +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=perl-extutils-libbuilder +_cpanname=ExtUtils-LibBuilder +pkgver=0.06 +pkgrel=1 +pkgdesc="A Tool to Build C Libraries" +arch=('any') +url="http://search.cpan.org/dist/${_cpanname}" +license=('GPL1') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/A/AM/AMBS/${_cpanname}-${pkgver}.tar.gz) + +build() { + cd $srcdir/${_cpanname}-${pkgver} + perl Build.PL installdirs=vendor destdir=$pkgdir + perl Build +} + +package() { + cd $srcdir/${_cpanname}-${pkgver} + perl Build install + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} +md5sums=('349c8ccab8ccad2a3f3bb5fba9dbd3f1') diff --git a/pcr/perl-file-find-rule/PKGBUILD b/pcr/perl-file-find-rule/PKGBUILD index 3c56a610b..ee75cb02d 100644 --- a/pcr/perl-file-find-rule/PKGBUILD +++ b/pcr/perl-file-find-rule/PKGBUILD @@ -1,14 +1,15 @@ # Contributor (Arch): Blaž Tomažič <blaz.tomazic@gmail.com> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname=perl-file-find-rule _realname=File-Find-Rule pkgver=0.33 -pkgrel=1 +pkgrel=2 pkgdesc="Perl/CPAN Module File::Find::Rule." arch=('i686' 'x86_64' 'mips64el') -license=('GPL') -url="http://search.cpan.org/dist/File-Find-Rule/" +license=('GPL1') +url="http://search.cpan.org/dist/File-Find-Rule" depends=('perl-text-glob' 'perl-number-compare' 'perl') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/${_realname}-${pkgver}.tar.gz) diff --git a/pcr/perl-geo-ipfree/PKGBUILD b/pcr/perl-geo-ipfree/PKGBUILD index 65cc6a2e3..b76c667fe 100644 --- a/pcr/perl-geo-ipfree/PKGBUILD +++ b/pcr/perl-geo-ipfree/PKGBUILD @@ -1,12 +1,14 @@ +# Contributor : Márcio Silva <coadde@parabola.nu> + _author=bricas _perlmod=Geo-IPfree pkgname=perl-geo-ipfree -pkgver=1.141670 +pkgver=1.143630 pkgrel=1 pkgdesc="An IPv4 to country lookup database" arch=('any') -url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/" -license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/~$_author/$_perlmod" +license=('GPL1') depends=('perl>=5.10.0') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/$_perlmod-$pkgver.tar.gz) diff --git a/pcr/perl-ipc-run3/PKGBUILD b/pcr/perl-ipc-run3/PKGBUILD new file mode 100644 index 000000000..f9ae5be64 --- /dev/null +++ b/pcr/perl-ipc-run3/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor (Arch): John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator (Arch): CPANPLUS::Dist::Arch 1.27 +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname='perl-ipc-run3' +pkgver='0.048' +pkgrel='1' +pkgdesc="run a subprocess with input/ouput redirection" +arch=('any') +license=('GPL1') +options=('!emptydirs') +depends=('perl>=0') +makedepends=() +url='http://search.cpan.org/dist/IPC-Run3' +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-$pkgver.tar.gz") +md5sums=('5a8cec571c51a118b265cf6e24e55761') +sha512sums=('50432850d8dccd2e59aa6684d34f3e3242fd7df3eb4d9a5eb02dae389aa46b5fd68cc54114a157c3fe99956e68e74d575ab3db5009b7bf7d5c325f1f109b1262') +_distdir="IPC-Run3-$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/pcr/perl-iptables-chainmgr/PKGBUILD b/pcr/perl-iptables-chainmgr/PKGBUILD index 1ccfde72f..f42245119 100644 --- a/pcr/perl-iptables-chainmgr/PKGBUILD +++ b/pcr/perl-iptables-chainmgr/PKGBUILD @@ -1,13 +1,14 @@ # Contributor (Arch): Weirch Sodora <sodora@gmail.com> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname=perl-iptables-chainmgr -pkgver=1.2 +pkgver=1.3 pkgrel=1 pkgdesc="IPTables::ChainMgr - Perl extension for manipulating iptables and ip6tables policies" arch=('i686' 'x86_64' 'mips64el') -url="http://search.cpan.org/~mrash/IPTables-ChainMgr/" -license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/~mrash/IPTables-ChainMgr/lib/IPTables/ChainMgr.pm" +license=('Artistic2.0') depends=('perl' 'iptables' 'perl-iptables-parse>=0.9' 'perl-netaddr-ip>=4.0') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/M/MR/MRASH/IPTables-ChainMgr-$pkgver.tar.gz) diff --git a/pcr/perl-iptables-parse/PKGBUILD b/pcr/perl-iptables-parse/PKGBUILD index 285de133a..5f91b2549 100644 --- a/pcr/perl-iptables-parse/PKGBUILD +++ b/pcr/perl-iptables-parse/PKGBUILD @@ -1,13 +1,14 @@ # Contributor (Arch): Weirch Sodora <sodora@gmail.com> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname=perl-iptables-parse -pkgver=1.1 +pkgver=1.4 pkgrel=1 pkgdesc="IPTables::Parse - Perl extension for parsing iptables and ip6tables firewall rulesets" arch=('i686' 'x86_64' 'mips64el') -url="http://search.cpan.org/~mrash/IPTables-Parse/" -license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/~mrash/IPTables-Parse/lib/IPTables/Parse.pm" +license=('Artistic2.0') depends=('perl' 'iptables') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/M/MR/MRASH/IPTables-Parse-$pkgver.tar.gz) diff --git a/pcr/perl-latex-encode/PKGBUILD b/pcr/perl-latex-encode/PKGBUILD index 49e7fab1b..82ccfb45f 100644 --- a/pcr/perl-latex-encode/PKGBUILD +++ b/pcr/perl-latex-encode/PKGBUILD @@ -1,12 +1,13 @@ # Maintainer (Arch): Moritz Bunkus <moritz@bunkus.org> +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname=perl-latex-encode -pkgver=0.08 +pkgver=0.091.6 pkgrel=1 pkgdesc="Encode characters for LaTeX formatting" arch=(any) -license=('PerlArtistic') -url="http://search.cpan.org/dist/Rose-Object/" +license=('GPL1') +url="http://search.cpan.org/~andrewf/LaTeX-Encode" options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/A/AN/ANDREWF/LaTeX-Encode-${pkgver}.tar.gz) md5sums=('0877ff573bbacdfcd6ceb130c4282ab6') diff --git a/pcr/perl-list-allutils/PKGBUILD b/pcr/perl-list-allutils/PKGBUILD new file mode 100644 index 000000000..d3cc98f43 --- /dev/null +++ b/pcr/perl-list-allutils/PKGBUILD @@ -0,0 +1,38 @@ +# CPAN Name : List::AllUtils +# Contributor (Arch): Anton Leontiev <bunder /at/ t-25.ru> +# Generator (Arch): CPANPLUS::Dist::Arch 1.29 + +pkgname=perl-list-allutils +pkgver=0.09 +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-AllUtils' +license=('Artistic2.0') +depends=('perl>=5.19.3' 'perl-list-moreutils>=0.28') +checkdepends=('perl-test-warnings') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-$pkgver.tar.gz) +options=(!emptydirs) +md5sums=('3e2dfeeef80c4e1952443c6b7d48583c') + +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/pcr/perl-math-bigint-gmp/PKGBUILD b/pcr/perl-math-bigint-gmp/PKGBUILD index 0f5546403..e98e299bb 100644 --- a/pcr/perl-math-bigint-gmp/PKGBUILD +++ b/pcr/perl-math-bigint-gmp/PKGBUILD @@ -1,14 +1,15 @@ # Maintainer (AUR): Pedro Alejandro López-Valencia <palopezv@gmail.com> +# Contributor : Márcio Silva <coadde@parabola.nu> _author=PJACKLAM _perlmod=Math-BigInt-GMP pkgname=perl-math-bigint-gmp -pkgver=1.37 -pkgrel=2 +pkgver=1.38 +pkgrel=1 pkgdesc="Big integer calculations using the GNU Multiple Precision Arithmetic Library." arch=('i686' 'x86_64' 'mips64el') -url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/" -license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/~$_author/$_perlmod" +license=('GPL1') depends=('perl>=5.16.2' 'gmp') options=(!emptydirs) source=(http://cpan.perl.org/modules/by-authors/id/P/PJ/$_author/$_perlmod-$pkgver.tar.gz) @@ -28,7 +29,7 @@ check() { package() { cd "$srcdir/$_perlmod-$pkgver" - make install DESTDIR="$pkgdir/" + make install DESTDIR="$pkgdir" find ${pkgdir} -name '.packlist' -delete find ${pkgdir} -name '*.pod' -delete diff --git a/pcr/perl-net-sftp-foreign/PKGBUILD b/pcr/perl-net-sftp-foreign/PKGBUILD index dfce58f00..4414d43fa 100644 --- a/pcr/perl-net-sftp-foreign/PKGBUILD +++ b/pcr/perl-net-sftp-foreign/PKGBUILD @@ -1,11 +1,13 @@ # Contributor (Arch): Alessandro Sagratini <ale_sagra at hotmail dot com> +# Contributor : Márcio Silva <coadde@parabola.nu> + pkgname=perl-net-sftp-foreign -pkgver=1.75 +pkgver=1.77 pkgrel=1 pkgdesc="Perl SFTP client using the native SSH client application" arch=(any) url=http://search.cpan.org/~salva/Net-SFTP-Foreign -license=('GPL' 'PerlArtistic') +license=('GPL2') depends=('perl>=5.10.0') optdepends=('perl-file-which' 'perl-sort-key') options=(!emptydirs) diff --git a/pcr/perl-php-serialization/PKGBUILD b/pcr/perl-php-serialization/PKGBUILD index 8bfc2661f..c2cd22a7b 100644 --- a/pcr/perl-php-serialization/PKGBUILD +++ b/pcr/perl-php-serialization/PKGBUILD @@ -1,21 +1,22 @@ -# CPAN Name : PHP-Serialization +# CPAN Name : PHP-Serialization # Contributor (Arch): 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 +# Generator (Arch): CPANPLUS::Dist::Arch 1.25 +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname='perl-php-serialization' pkgver='0.34' -pkgrel='2' +pkgrel='3' 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') +license=('GPL1') options=('!emptydirs') 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') +source=("http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/PHP-Serialization-$pkgver.tar.gz") md5sums=('333af0848ad79931875a35cc61dc22e0') sha512sums=('72218973f21ab71419751cf818e6bd998235aa74bf8ae60ec4a6080ba169d0d7fcefde4f433ce3f6f30ed3084a651deb8aa3a5dd818fc6ebf3fb6188def4efe7') -_distdir="PHP-Serialization-0.34" +_distdir="PHP-Serialization-$pkgver" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ diff --git a/pcr/perl-readonly-xs/PKGBUILD b/pcr/perl-readonly-xs/PKGBUILD new file mode 100644 index 000000000..63b127137 --- /dev/null +++ b/pcr/perl-readonly-xs/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor (Arch): John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator (Arch): CPANPLUS::Dist::Arch 1.28 +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname='perl-readonly-xs' +pkgver='1.05' +pkgrel='2' +pkgdesc="Companion module for Readonly.pm, to speed up read-only" +arch=('any') +license=('GPL1') +options=('!emptydirs') +depends=('perl-readonly>=1.02') +makedepends=() +url='http://search.mcpan.org/dist/Readonly-XS' +source=("http://search.mcpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-XS-$pkgver.tar.gz") +md5sums=('df71f29abfcbd14c963f912d6d6ded6b') +sha512sums=('0e3a8e55e7776e556b7ce995510d73d8d07b51a98f3d4772c291f4c76134c395b196a0485a6ceca39acd536258da5c91cddfdf3f61ef3309c518c807bb0f4dd4') +_distdir="Readonly-XS-$pkgver" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$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/pcr/perl-readonly/PKGBUILD b/pcr/perl-readonly/PKGBUILD new file mode 100644 index 000000000..cec681e71 --- /dev/null +++ b/pcr/perl-readonly/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor (Arch): John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator (Arch): CPANPLUS::Dist::Arch 1.28 +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname='perl-readonly' +pkgver='2.00' +pkgrel='1' +pkgdesc="Facility for creating read-only scalars, arrays, hashes" +arch=('any') +license=('GPL1') +options=('!emptydirs') +depends=('perl>=5.6.0') +makedepends=() +url='http://search.mcpan.org/dist/Readonly' +source=("http://search.mcpan.org/CPAN/authors/id/S/SA/SANKO/Readonly-$pkgver.tar.gz") +md5sums=('05866426331fd2b8d4feebbba245298d') +sha512sums=('293c3be4af0bee2390d5370132c17de31010443123321771dd124d3e285cd72abbdaa7b6f50a2c44102d03a5724636f2976016111efe09afd27149f6880c2bec') +_distdir="Readonly-$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 Build.PL + /usr/bin/perl Build + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + /usr/bin/perl Build test + ) +} + +package() { + cd "$srcdir/$_distdir" + /usr/bin/perl Build 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/pcr/perl-regexp-common/PKGBUILD b/pcr/perl-regexp-common/PKGBUILD new file mode 100644 index 000000000..f8c4dfc1c --- /dev/null +++ b/pcr/perl-regexp-common/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer (Arch): Jason St. John <jstjohn .. purdue . edu> +# Contributor (Arch): Caleb Cushing <xenoterracide@gmail.com> +# Contributor : Márcio Silva <coadde@parabola.nu> + +_perlmod=Regexp-Common +_modnamespace=Regexp +pkgname=perl-regexp-common +pkgver=2013031301 +pkgrel=4 +pkgdesc="Regexp::Common - Provides commonly requested regular expressions" +arch=('any') +url="http://search.cpan.org/dist/${_perlmod}" +license=('MIT') +options=('!emptydirs') +source=("http://cpan.org/modules/by-module/${_modnamespace}/${_perlmod}-${pkgver}.tar.gz") +sha512sums=('2fad761c169be76771856938a53f28dab232cb44cea4e22f56869754633f9a38f94568096ac0f21a885e6dd11049f401c8957b04929eee6802b8454c4fe4f62a') + +build() { + cd "${_perlmod}-${pkgver}" + + # Install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${_perlmod}-${pkgver}" + make test +} + +package() { + cd "${_perlmod}-${pkgver}" + make install DESTDIR="${pkgdir}" +} diff --git a/pcr/perl-rpc-xml/PKGBUILD b/pcr/perl-rpc-xml/PKGBUILD index c4d1adb6f..e4ce7886d 100644 --- a/pcr/perl-rpc-xml/PKGBUILD +++ b/pcr/perl-rpc-xml/PKGBUILD @@ -1,18 +1,19 @@ -# Contributor (Arch) : John D Jones III <jnbek1972 -_AT_- the domain name google offers a mail service at ending in dot com> -# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Contributor (Arch): John D Jones III <jnbek1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname='perl-rpc-xml' pkgver='0.78' -pkgrel='2' +pkgrel='3' pkgdesc="A set of classes for core data, message and XML handling" arch=('any') -license=('PerlArtistic' 'GPL') +license=('LGPL2.1') options=('!emptydirs') depends=('perl-xml-parser>=2.31' 'perl-libwww' 'perl-xml-libxml' 'perl-net-server') makedepends=() url='http://search.mcpan.org/dist/RPC-XML' -source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/RPC-XML-0.78.tar.gz') -_distdir="RPC-XML-0.78" +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/RPC-XML-$pkgver.tar.gz") +_distdir="RPC-XML-$pkgver" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ diff --git a/pcr/perl-sys-mmap/PKGBUILD b/pcr/perl-sys-mmap/PKGBUILD index 4f910fa0c..18c93bd5e 100644 --- a/pcr/perl-sys-mmap/PKGBUILD +++ b/pcr/perl-sys-mmap/PKGBUILD @@ -1,21 +1,22 @@ -# CPAN Name : Sys-Mmap +# CPAN Name : Sys-Mmap # Contributor (Arch): 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 +# Generator (Arch): CPANPLUS::Dist::Arch 1.25 +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname='perl-sys-mmap' -pkgver='0.16' -pkgrel='3' +pkgver='0.17' +pkgrel='1' pkgdesc="uses mmap to map in a file as a Perl variable" arch=('i686' 'x86_64' 'mips64el') -license=('PerlArtistic' 'GPL') +license=('GPL1') options=('!emptydirs') depends=('perl') makedepends=() url='http://search.cpan.org/dist/Sys-Mmap' -source=('http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/Sys-Mmap-0.16.tar.gz') +source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/Sys-Mmap-$pkgver.tar.gz") md5sums=('faae869e876fa86f92e6de3f13af3aef') sha512sums=('9f533f8eaa2707a77fa69dc0163e5e55b13d6653ddb5f7850c3fcaa090c79069cccedb947c1b8cd5a125fd7b055803eff437697c120785f422bff0414be7cd05') -_distdir="Sys-Mmap-0.16" +_distdir="Sys-Mmap-$pkgver" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ diff --git a/pcr/perl-text-bibtex/PKGBUILD b/pcr/perl-text-bibtex/PKGBUILD new file mode 100644 index 000000000..dbbf00655 --- /dev/null +++ b/pcr/perl-text-bibtex/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor (Arch): Andreas dot Wagner at em dot uni-frankfurt dot de +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=perl-text-bibtex +_cpanname=Text-BibTeX +pkgver=0.70 +pkgrel=2 +pkgdesc="Parse BibTeX files" +arch=('any') +url="http://search.cpan.org/dist/${_cpanname}" +license=('GPL1') +depends=('perl') +makedepends=('perl-config-autoconf>=0.16' 'perl-extutils-libbuilder' \ + 'perl-capture-tiny' ) +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/A/AM/AMBS/${_cpanname}-${pkgver}.tar.gz) +source=(http://www.cpan.org/authors/id/A/AM/AMBS/${_cpanname}-${pkgver}.tar.gz + perl-text-bibtex.patch) + +prepare() { + cd $srcdir/${_cpanname}-${pkgver} + patch -p0 -i "$srcdir/$pkgname.patch" +} + +build() { + cd $srcdir/${_cpanname}-${pkgver} + perl Build.PL installdirs=vendor destdir=$pkgdir + perl Build + perl Build test +} + +package() { + cd $srcdir/${_cpanname}-${pkgver} + perl Build install + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} + +md5sums=('2dfdccab7c747d1805df432f4935ce66' + '92be523571d1a6daea9c0940b3fce008') diff --git a/pcr/perl-text-bibtex/perl-text-bibtex.patch b/pcr/perl-text-bibtex/perl-text-bibtex.patch new file mode 100644 index 000000000..8e9c6a741 --- /dev/null +++ b/pcr/perl-text-bibtex/perl-text-bibtex.patch @@ -0,0 +1,42 @@ +--- Build.PL 2014-09-01 21:12:14.000000000 +0100 ++++ Build.PL.new 2015-01-31 16:34:51.567227766 +0000 +@@ -58,38 +58,7 @@ my $builder = MyBuilder->new + ], + ); + +-## HACK HACK HACK HACK +-my $libdir = $builder->install_destination("bin"); +-if ($^O =~ /mswin32/i) { +- $libdir = undef; +- # Find a place where we can write. +- my @folders = split /;/, $ENV{PATH}; +- my $installed = 0; +- my $target = "text-bibtex.$$"; +- while(@folders && !$installed) { +- $libdir = shift @folders; +- +- copy("MANIFEST", catfile($libdir,$target)); +- $installed = 1 if -f catfile($libdir, $target); +- } +- if (!$installed) { +- warn("Wasn't able to find a suitable place for libbtparse.dll!"); +- } else { +- print STDERR "libbtparse.dll will be installed in $libdir\n"; +- unlink catfile($libdir, $target); +- } +-} else { +- if ($Config{archname} =~ /^x86_64/) { +- $libdir =~ s/\bbin\b/lib64/; +- if (!-d $libdir) { +- my $test = $libdir; +- $test =~ s/lib64/lib/; +- $libdir = $test if -d $test; +- } +- } else { +- $libdir =~ s/\bbin\b/lib/; +- } +-} ++my $libdir = '/usr/lib'; + $builder->notes('btparse_version' => $version); + $builder->notes('lib_path' => $libdir); + $builder->add_build_element('usrlib'); diff --git a/pcr/perl-text-glob/PKGBUILD b/pcr/perl-text-glob/PKGBUILD index 80f8bd968..c9b20d67c 100644 --- a/pcr/perl-text-glob/PKGBUILD +++ b/pcr/perl-text-glob/PKGBUILD @@ -1,22 +1,23 @@ -# CPAN Name : Text-Glob +# CPAN Name : Text-Glob # Contributor (Arch): Alan Young <harleypig@gmail.com> -# Generator : CPANPLUS::Dist::Arch 1.21 -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Generator (Arch): CPANPLUS::Dist::Arch 1.21 +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname='perl-text-glob' pkgver='0.09' -pkgrel='2' +pkgrel='3' pkgdesc="match globbing patterns against text" arch=('any') -license=('PerlArtistic' 'GPL') +license=('GPL1') options=('!emptydirs') depends=('perl') makedepends=() url='http://search.cpan.org/dist/Text-Glob' -source=('http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/Text-Glob-0.09.tar.gz') +source=("http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/Text-Glob-$pkgver.tar.gz") md5sums=('1daa10e087f891c49b720a5c551a024b') sha512sums=('9b729e4ece88ad79e1b637c7f35e5e1ecae3fd7f62c408ed4f3fcac2e8e8afff32d7d805e1b0269800aada5ae609d03335d42ac54def2797d301e91fa488ae47') -_distdir="${srcdir}/Text-Glob-0.09" +_distdir="${srcdir}/Text-Glob-$pkgver" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ diff --git a/pcr/perl-unicode-gcstring/PKGBUILD b/pcr/perl-unicode-gcstring/PKGBUILD new file mode 100644 index 000000000..7bbc010f2 --- /dev/null +++ b/pcr/perl-unicode-gcstring/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor (Arch): Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=perl-unicode-gcstring +pkgver=2014.06 +pkgrel=1 +pkgdesc="Unicode::GCString - String as Sequence of UAX #29 Grapheme Clusters" +arch=('any') +url="http://search.cpan.org/dist/Unicode-LineBreak" +license=('GPL2') +depends=('perl' 'perl-mime-charset') +options=(!emptydirs !zipman) +source=("http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/Unicode-LineBreak-$pkgver.tar.gz") + +build() { + cd "$srcdir/Unicode-LineBreak-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL + make +} + +package() { + cd "$srcdir/Unicode-LineBreak-$pkgver" + make DESTDIR=$pkgdir install +} + +md5sums=('ace93f0209986f7f2c0fa926722bdbbd') diff --git a/pcr/perl-unicode-map/PKGBUILD b/pcr/perl-unicode-map/PKGBUILD index f8b7b783d..9b92074d2 100644 --- a/pcr/perl-unicode-map/PKGBUILD +++ b/pcr/perl-unicode-map/PKGBUILD @@ -1,15 +1,16 @@ # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor (Arch): Ross melin <rdmelin@gmail.com> +# Contributor : Márcio Silva <coadde@parabola.nu> # Required by zoneminder pkgname=perl-unicode-map pkgver=0.112 -pkgrel=2 +pkgrel=3 pkgdesc="Unicode::Map" arch=('i686' 'x86_64' 'mips64el') url="http://search.cpan.org/~MSCHWARTZ/Unicode-Map" -license=('GPL' 'PerlArtistic') +license=('GPL1') depends=('perl') options=('!emptydirs') source=(http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-$pkgver.tar.gz) diff --git a/pcr/perl-unix-syslog/PKGBUILD b/pcr/perl-unix-syslog/PKGBUILD index bbc9ce861..7452b0d6b 100644 --- a/pcr/perl-unix-syslog/PKGBUILD +++ b/pcr/perl-unix-syslog/PKGBUILD @@ -1,17 +1,18 @@ # Contributor (Arch): Justin Davis <jrcd83@gmail.com> -# Generator : CPANPLUS::Dist::Arch 1.04 -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> +# Generator (Arch): CPANPLUS::Dist::Arch 1.04 +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> +# Contributor : Márcio Silva <coadde@parabola.nu> pkgname='perl-unix-syslog' pkgver='1.1' -pkgrel='1' +pkgrel='2' pkgdesc="Interface to syslog functions in a C-library" arch=('any') -license=('PerlArtistic' 'GPL') +license=('Artistic2.0') options=('!emptydirs') depends=('glibc>=2.12.1' 'perl') url='http://search.cpan.org/dist/Unix-Syslog' -source=('http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-1.1.tar.gz') +source=("http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-$pkgver.tar.gz") build() { PERL=/usr/bin/perl diff --git a/pcr/perl-xml-libxml-simple/PKGBUILD b/pcr/perl-xml-libxml-simple/PKGBUILD new file mode 100644 index 000000000..937aed48d --- /dev/null +++ b/pcr/perl-xml-libxml-simple/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor (Arch): Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=perl-xml-libxml-simple +pkgver=0.95 +pkgrel=1 +pkgdesc="XML::LibXML based XML::Simple clone" +arch=('i686' 'x86_64' 'mips64el') +url="http://search.cpan.org/dist/XML-LibXML-Simple" +license=('GPL1') +depends=('perl-xml-libxml' 'perl-file-slurp') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/M/MA/MARKOV/XML-LibXML-Simple-$pkgver.tar.gz) + +build() { + cd $srcdir/XML-LibXML-Simple-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/XML-LibXML-Simple-$pkgver + make pure_install doc_install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} + +md5sums=('f03059bbf7d42af97af224d23a732b23') |