[arch-commits] Commit in perl-guard/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 12:02:28 UTC 2019


    Date: Saturday, May 25, 2019 @ 12:02:28
  Author: foutrelis
Revision: 354269

archrelease: copy trunk to staging-x86_64

Added:
  perl-guard/repos/staging-x86_64/
  perl-guard/repos/staging-x86_64/PKGBUILD
    (from rev 354268, perl-guard/trunk/PKGBUILD)

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

Copied: perl-guard/repos/staging-x86_64/PKGBUILD (from rev 354268, perl-guard/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-05-25 12:02:28 UTC (rev 354269)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-guard
+pkgver=1.023
+pkgrel=8
+pkgdesc='safe cleanup blocks'
+arch=('x86_64')
+url='https://metacpan.org/release/Guard'
+license=('GPL' 'PerlArtistic')
+makedepends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Guard-${pkgver}.tar.gz")
+md5sums=('dbbb944601a31f60ee58954ad4cb65b4')
+
+build() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
+      PERL_AUTOINSTALL=--skipdeps                            \
+      PERL_MM_OPT="INSTALLDIRS=vendor"     \
+      PERL_MB_OPT="--installdirs vendor" \
+      MODULEBUILDRC=/dev/null
+
+    cd "${srcdir}/Guard-${pkgver}"
+    /usr/bin/perl Makefile.PL
+    make
+  )
+}
+
+check() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    cd "${srcdir}/Guard-${pkgver}"
+    make test
+  )
+}
+
+package() {
+    cd "${srcdir}/Guard-${pkgver}"
+    make DESTDIR="$pkgdir" install
+}
+
+# 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