diff options
author | Erich Eckner <git@eckner.net> | 2016-04-21 00:06:12 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-21 00:06:12 +0200 |
commit | 09663c25a59d350d9f89514007752ba0e6a3d158 (patch) | |
tree | 9a69d77d71c5a2b9abc364a9aed852938bd322c9 | |
parent | d5a25decd831999841f63b6d95c2f25b7e348d37 (diff) | |
download | archlinuxewe.git.save-09663c25a59d350d9f89514007752ba0e6a3d158.tar.xz |
perl-devel-caller neu
-rw-r--r-- | perl-devel-caller/PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/perl-devel-caller/PKGBUILD b/perl-devel-caller/PKGBUILD new file mode 100644 index 00000000..de9e620e --- /dev/null +++ b/perl-devel-caller/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 +# Maintainer: Erich Eckner <arch at eckner dot net> + +pkgname='perl-devel-caller' +pkgver='2.06' +pkgrel='1' +pkgdesc="meatier versions of caller" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-padwalker>=0.08') +makedepends=() +url='http://search.cpan.org/dist/Devel-Caller' +source=("http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/Devel-Caller-${pkgver}.tar.gz") +sha512sums=('f15a59169e191c8526f613d21c415e5d8d51b59eabf309952468fdee15277b2e8f831a2263a9dc006d9f3144a234fbc9c46ad3ab464b6fc055360c6445b209f9') +_distdir="Devel-Caller-${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: |