summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-29 09:53:25 +0200
committerErich Eckner <git@eckner.net>2016-04-29 10:00:42 +0200
commit7783da636e027ed444f666a176a9561b40183577 (patch)
tree7bb4f267eae336b6ca1beabd33afae1bf7bf7205
parenta8b00278b1cabc1d5b3e23917cede7d408a2aaee (diff)
downloadarchlinuxewe-7783da636e027ed444f666a176a9561b40183577.tar.xz
perl-data-printer neu
-rw-r--r--perl-data-printer/PKGBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/perl-data-printer/PKGBUILD b/perl-data-printer/PKGBUILD
new file mode 100644
index 000000000..ce1ec6477
--- /dev/null
+++ b/perl-data-printer/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Generator : neuesPerlPaket (53a4b3dbf91e50da515b6ec94fbd3044454d68ce67b4faf1406dd314dbd1c658a8b69f094c8647bc8e977b1abc69e4a04d8a638eae1861c5a8a4c44d81770a8f)
+
+pkgname='perl-data-printer'
+pkgver='0.38'
+pkgrel='1'
+pkgdesc='colored pretty-print of Perl data structures and objects'
+arch=('x86_64' 'i686')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=(
+ 'perl-clone-pp'
+ 'perl-file-homedir'
+ 'perl-sort-naturally'
+ 'perl-io-tty'
+ 'perl-package-stash'
+)
+makedepends=()
+checkdepends=(
+ 'perl-io-pty-easy'
+ 'perl-yaml-syck'
+ 'perl-file-which'
+ 'perl-capture-tiny'
+ 'perl-dbi'
+)
+url='https://metacpan.org/release/Data-Printer'
+_distdir="Data-Printer-${pkgver}"
+source=("https://cpan.metacpan.org/authors/id/G/GA/GARU/${_distdir}.tar.gz")
+sha512sums=('79c9b867c518c73b3f8ff350e7652a66f0de2ade58d7e857023cc20b25dcdbebc9121d51ae355167f11a334c863d3b1ebce39c00a133929053492fcf185c953e')
+
+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}"
+ 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
+}