diff options
author | John D Jones III | 2015-06-16 15:47:36 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 15:47:36 -0600 |
commit | 75ca265a7263c7226f0144d62b884cfddeb080e4 (patch) | |
tree | b302fcd167c518063bbb2eaee37d373dbb4a8391 | |
download | aur-75ca265a7263c7226f0144d62b884cfddeb080e4.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 51 |
2 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..662a5809d430 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = perl-ppix-editortools + pkgdesc = Utility methods and base class for manipulating Perl via PPI + pkgver = 0.19 + pkgrel = 1 + url = http://search.mcpan.org/dist/PPIx-EditorTools + arch = any + license = PerlArtistic + license = GPL + checkdepends = perl-test-differences + checkdepends = perl-test-nowarnings>=0.084 + makedepends = perl-test-most + depends = perl-class-xsaccessor>=1.02 + depends = perl-ppi>=1.215 + depends = perl-try-tiny>=0.11 + depends = perl + options = !emptydirs + source = http://search.mcpan.org/CPAN/authors/id/S/SZ/SZABGAB/PPIx-EditorTools-0.19.tar.gz + md5sums = 8ceaa3b9c8b2a5d3b601f99be4afe0f2 + sha512sums = 363ca55cc4c03ed2a672ea2429c09656a567450f2be47f3c8f42ae0ac3c14c9d7b99660f61f7cba61dbe94680ee1663d77c9415965e444449b2489e3a2c18faa + +pkgname = perl-ppix-editortools + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c3a4af3d9775 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname='perl-ppix-editortools' +pkgver='0.19' +pkgrel='1' +pkgdesc="Utility methods and base class for manipulating Perl via PPI" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-class-xsaccessor>=1.02' 'perl-ppi>=1.215' 'perl-try-tiny>=0.11' 'perl') +makedepends=('perl-test-most') +checkdepends=('perl-test-differences' 'perl-test-nowarnings>=0.084') +url='http://search.mcpan.org/dist/PPIx-EditorTools' +source=('http://search.mcpan.org/CPAN/authors/id/S/SZ/SZABGAB/PPIx-EditorTools-0.19.tar.gz') +md5sums=('8ceaa3b9c8b2a5d3b601f99be4afe0f2') +sha512sums=('363ca55cc4c03ed2a672ea2429c09656a567450f2be47f3c8f42ae0ac3c14c9d7b99660f61f7cba61dbe94680ee1663d77c9415965e444449b2489e3a2c18faa') +_distdir="PPIx-EditorTools-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: |