[arch-commits] Commit in perl-dist-checkconflicts/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Jun 2 05:12:16 UTC 2017


    Date: Friday, June 2, 2017 @ 05:12:15
  Author: foutrelis
Revision: 232805

archrelease: copy trunk to community-staging-any

Added:
  perl-dist-checkconflicts/repos/community-staging-any/
  perl-dist-checkconflicts/repos/community-staging-any/PKGBUILD
    (from rev 232804, perl-dist-checkconflicts/trunk/PKGBUILD)

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

Copied: perl-dist-checkconflicts/repos/community-staging-any/PKGBUILD (from rev 232804, perl-dist-checkconflicts/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-02 05:12:15 UTC (rev 232805)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-dist-checkconflicts
+pkgver=0.11
+pkgrel=2
+pkgdesc="Declare version conflicts for your dist"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-list-moreutils' 'perl-exporter')
+makedepends=('perl-extutils-makemaker')
+checkdepends=('perl-test-fatal' 'perl-test-simple' 'perl-module-runtime')
+url="https://metacpan.org/release/Dist-CheckConflicts"
+source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-$pkgver.tar.gz)
+md5sums=('c8725a92b9169708b0f63036812070f2')
+
+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 Dist-CheckConflicts-$pkgver
+
+    /usr/bin/perl Makefile.PL
+    make
+  )
+}
+
+check() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    cd Dist-CheckConflicts-$pkgver
+
+    make test
+  )
+}
+
+package() {
+  cd Dist-CheckConflicts-$pkgver
+
+  make DESTDIR="$pkgdir"/ install
+}



More information about the arch-commits mailing list