diff options
author | Erich Eckner <git@eckner.net> | 2016-04-08 16:37:25 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-11 11:29:20 +0200 |
commit | 6934bdb1e99b525f07631a90906b3fd6eb79f2f0 (patch) | |
tree | 516b9bfc5a75c5172fe330465709a81225b8092b | |
parent | f209b72ac7b28e8bbe7766798988e180909736f7 (diff) | |
download | archlinuxewe.git.save-6934bdb1e99b525f07631a90906b3fd6eb79f2f0.tar.xz |
perl-ppi neu
-rw-r--r-- | perl-ppi/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/perl-ppi/PKGBUILD b/perl-ppi/PKGBUILD new file mode 100644 index 00000000..daeb6d62 --- /dev/null +++ b/perl-ppi/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: chimeracoder <dev@chimeracoder.net> + +pkgname='perl-ppi' +pkgver='1.220' +pkgrel='1' +pkgdesc="Parse, Analyze and Manipulate Perl (without perl)" +arch=('x86_64' 'i686') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-clone>=0.30' 'perl-io-string>=1.07' 'perl-list-moreutils>=0.16' 'perl-params-util>=1.00' 'perl-task-weaken' 'perl>=5.6.0') +makedepends=('perl-class-inspector>=1.22' 'perl-file-remove>=1.42') +checkdepends=('perl-test-nowarnings>=0.084' 'perl-test-object>=0.07' 'perl-test-subcalls>=1.07') +url='http://search.mcpan.org/dist/PPI' +source=("http://search.mcpan.org/CPAN/authors/id/M/MI/MITHALDU/PPI-${pkgver}.tar.gz") +sha512sums=('03ff865424a11cb351211dc7d57b6477848e8f354de74dc5bae214614438549f1dba6818842f6312f88fa631514abad69b0023046d56c8e8584d0b634c202694') +_distdir="PPI-${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: |