summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-21 23:33:47 +0200
committerErich Eckner <git@eckner.net>2017-09-21 23:33:47 +0200
commit35144c9bd5bc0ef551098d346cdb3d20e29b58fa (patch)
treefd209445977f7ec1563ed0b55450910072f9de52
parent3e79d22232696a07facadf8719638e013c23b842 (diff)
downloadarchlinuxewe.git.save-35144c9bd5bc0ef551098d346cdb3d20e29b58fa.tar.xz
perl-class-iterator neu
-rw-r--r--perl-class-iterator/PKGBUILD61
-rw-r--r--perl-sub-strictdecl/PKGBUILD7
-rw-r--r--perl-term-size-any/PKGBUILD8
-rw-r--r--perl-type-tie/PKGBUILD12
4 files changed, 85 insertions, 3 deletions
diff --git a/perl-class-iterator/PKGBUILD b/perl-class-iterator/PKGBUILD
new file mode 100644
index 00000000..34c5268b
--- /dev/null
+++ b/perl-class-iterator/PKGBUILD
@@ -0,0 +1,61 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Generator : neuesPerlPaket (bdf93f5ec640b26ea19b184fa40191df46ec6820b752b3b12d27556efe3f22712ce5b1bd64aa62ae4e0ef7c7e2f37b46d0f6669245e049fc1bbaf487d3eb2aae)
+
+pkgname='perl-class-iterator'
+pkgver='0.3'
+pkgrel='1'
+pkgdesc='Iterator class'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+url='https://metacpan.org/release/Class-Iterator'
+_distdir="Class-Iterator-${pkgver}"
+source=("https://cpan.metacpan.org/authors/id/T/TE/TEXMEC/${_distdir}.tar.gz")
+sha512sums=('f8dcb9cf9bfb0c00da01456ea61fc6e328cf03b2d5d4b892d6a23005c62a123fff6caa483043900ab631a483225578e8e9c60679b966ebbcb323face5d32d40a')
+
+build() {
+ cd "${srcdir}/${_distdir}"
+
+ # Setting these env variables overwrites any command-line-options we don't want...
+ 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
+
+ # If using Makefile.PL
+ if [ -r Makefile.PL ]; then
+ perl Makefile.PL
+ make
+ # If using Build.PL
+ elif [ -r Build.PL ]; then
+ perl Build.PL
+ perl Build
+ fi
+}
+
+check() {
+ cd "${srcdir}/${_distdir}"
+
+ # If using Makefile.PL
+ if [ -r Makefile.PL ]; then
+ make test
+ # If using Build.PL
+ elif [ -r Build.PL ]; then
+ perl Build test
+ fi
+}
+
+package() {
+ cd "${srcdir}/${_distdir}"
+
+ # If using Makefile.PL
+ if [ -r Makefile.PL ]; then
+ make install
+ # If using Build.PL
+ elif [ -r Build.PL ]; then
+ perl Build install
+ fi
+
+ # remove perllocal.pod and .packlist
+ find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
+}
diff --git a/perl-sub-strictdecl/PKGBUILD b/perl-sub-strictdecl/PKGBUILD
index 79902954..488b7887 100644
--- a/perl-sub-strictdecl/PKGBUILD
+++ b/perl-sub-strictdecl/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='perl-sub-strictdecl'
pkgver=0.005
-pkgrel='2'
+pkgrel='3'
pkgdesc='detect undeclared subroutines in compilation'
arch=('x86_64' 'i686')
license=('PerlArtistic' 'GPL')
@@ -16,6 +16,11 @@ makedepends=(
'perl-extutils-cbuilder>=0.15'
'perl-module-build'
'perl-test-simple')
+checkdepends=(
+ 'perl'
+ 'perl-devel-callparser'
+ 'perl-test-simple'
+)
conflicts=(
'perl-b-hooks-op-check<0.19')
url='https://metacpan.org/release/Sub-StrictDecl'
diff --git a/perl-term-size-any/PKGBUILD b/perl-term-size-any/PKGBUILD
index da29113d..cfbb43ed 100644
--- a/perl-term-size-any/PKGBUILD
+++ b/perl-term-size-any/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='perl-term-size-any'
pkgver='0.002'
-pkgrel='4'
+pkgrel='5'
pkgdesc='Retrieve terminal size'
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -11,6 +11,12 @@ options=('!emptydirs')
depends=('perl-devel-hide' 'perl-module-load-conditional' 'perl-term-size-perl' 'perl-test-simple')
makedepends=('perl-extutils-makemaker' 'perl-extutils-makemaker')
url='https://metacpan.org/release/Term-Size-Any'
+checkdepends=(
+ 'perl-module-load-conditional'
+ 'perl-test-pod'
+ 'perl-test-pod-coverage'
+ 'perl-test-simple'
+)
_distdir="Term-Size-Any-${pkgver}"
source=("https://cpan.metacpan.org/authors/id/F/FE/FERREIRA/${_distdir}.tar.gz")
sha512sums=('e34d7e8d03e71e9f1758551e702711550804560a3165e0e9cea6756a7d87043e0408123b8c7997c79d6d77e7d48f167ed5aa12e4d572b1d787ef638ff71a3a1d')
diff --git a/perl-type-tie/PKGBUILD b/perl-type-tie/PKGBUILD
index f9ecefc8..3f5843da 100644
--- a/perl-type-tie/PKGBUILD
+++ b/perl-type-tie/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='perl-type-tie'
pkgver='0.009'
-pkgrel='5'
+pkgrel='6'
pkgdesc='tie a variable to a type constraint'
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -21,6 +21,16 @@ makedepends=(
'perl-test-fatal'
'perl-test-requires'
'perl-test-simple>=0.96')
+checkdepends=(
+ 'perl'
+ 'perl-moose-util-typeconstraints'
+ 'perl-moosex-types-moose'
+ 'perl-test-fatal'
+ 'perl-test-requires'
+ 'perl-test-simple'
+ 'perl-types-standard'
+ 'perl-type-tie'
+)
optdepends=(
'perl-hash-fieldhash')
url='https://metacpan.org/release/Type-Tie'