[arch-commits] Commit in perl-import-into/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 10:42:55 UTC 2021


    Date: Monday, May 24, 2021 @ 10:42:54
  Author: foutrelis
Revision: 944300

archrelease: copy trunk to community-staging-any

Added:
  perl-import-into/repos/community-staging-any/
  perl-import-into/repos/community-staging-any/PKGBUILD
    (from rev 944299, perl-import-into/trunk/PKGBUILD)

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

Copied: perl-import-into/repos/community-staging-any/PKGBUILD (from rev 944299, perl-import-into/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 10:42:54 UTC (rev 944300)
@@ -0,0 +1,51 @@
+# CPAN Name  : Import-Into
+# Contributor: Anonymous
+# Generator  : CPANPLUS::Dist::Arch 1.29
+
+pkgname='perl-import-into'
+pkgver=1.002005
+pkgrel=7
+pkgdesc="Import packages into other packages"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-module-runtime>=0' 'perl>=5.006')
+makedepends=()
+url='https://search.cpan.org/dist/Import-Into'
+source=('https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Import-Into-1.002004.tar.gz')
+md5sums=('70f2f3b08a5b706ee382a8448c346cb1')
+sha512sums=('387fb6302417bda94fffe7215e22774d9345af0f2df9f39dc089abcf4a0e164521d2223ddaeed7179a341720e1ae399ada6ff02b5aef75c9a00a74e2cf752005')
+_distdir="Import-Into-1.002004"
+
+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:



More information about the arch-commits mailing list