[arch-commits] Commit in perl-module-build-tiny/repos (2 files)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:45:25 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:45:25
  Author: bluewind
Revision: 366442

archrelease: copy trunk to community-staging-any

Added:
  perl-module-build-tiny/repos/community-staging-any/
  perl-module-build-tiny/repos/community-staging-any/PKGBUILD
    (from rev 366441, perl-module-build-tiny/trunk/PKGBUILD)

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

Copied: perl-module-build-tiny/repos/community-staging-any/PKGBUILD (from rev 366441, perl-module-build-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 09:45:25 UTC (rev 366442)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: xRemaLx <anton.komolov at gmail.com>
+
+pkgname=perl-module-build-tiny
+_pkgname=Module-Build-Tiny
+pkgver=0.039
+pkgrel=4
+pkgdesc="A tiny replacement for Module::Build"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl' 'perl-extutils-config' 'perl-extutils-helpers' 'perl-extutils-installpaths')
+makedepends=('perl-test-harness')
+url="http://search.cpan.org/dist/Module-Build-Tiny"
+source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('26ca6fe4c1792b26bb2b4711035847f4215ea7c37234fbe24fc07432682fd9d3b6016dbdb2ecb455a7b13f6bea13994826c7f84f21075f0a6e575fa74672903a')
+
+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}/${_pkgname}-${pkgver}"
+    /usr/bin/perl Build.PL
+    ./Build
+  )
+}
+
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    ./Build test
+  )
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  ( export PERL_AUTOINSTALL=--skipdeps                       \
+      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
+      PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'"
+    ./Build 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