[arch-commits] Commit in perl-data-section/repos (2 files)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 11:09:56 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:09:56
  Author: bluewind
Revision: 366464

archrelease: copy trunk to community-staging-any

Added:
  perl-data-section/repos/community-staging-any/
  perl-data-section/repos/community-staging-any/PKGBUILD
    (from rev 366463, perl-data-section/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: perl-data-section/repos/community-staging-any/PKGBUILD (from rev 366463, perl-data-section/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 11:09:56 UTC (rev 366464)
@@ -0,0 +1,46 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-data-section
+pkgver=0.200007
+pkgrel=2
+pkgdesc='read multiple hunks of data out of your DATA section'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl-mro-compat>=0.09' 'perl-sub-exporter>=0.979')
+checkdepends=(perl-test-failwarnings)
+url=https://metacpan.org/release/Data-Section
+source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-Section-$pkgver.tar.gz")
+md5sums=(1d36b49d809a2b7939c7817ba4bc38cb)
+sha512sums=(0c23141ccc2041e8c1c222c95d6eab4b56e2d77a94c68507f67acbb62fa5132e9229e9680c9fff6ebbc6a47a42cf1943d6e5b50a5f0168c66193fb52aaa241f0)
+_ddir="Data-Section-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  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:



More information about the arch-commits mailing list