[arch-commits] Commit in perl-dist-checkconflicts/trunk (PKGBUILD)

Jonathan Steel jsteel at nymeria.archlinux.org
Sat Jun 29 21:08:33 UTC 2013


    Date: Saturday, June 29, 2013 @ 23:08:33
  Author: jsteel
Revision: 93250

upgpkg: perl-dist-checkconflicts 0.06-1

Modified:
  perl-dist-checkconflicts/trunk/PKGBUILD

----------+
 PKGBUILD |   49 +++++++++++++++++++++++--------------------------
 1 file changed, 23 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-06-29 19:58:40 UTC (rev 93249)
+++ PKGBUILD	2013-06-29 21:08:33 UTC (rev 93250)
@@ -1,30 +1,30 @@
-# Maintainer: Justin Davis <jrcd83 at gmail.com>
 # $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
 
 pkgname=perl-dist-checkconflicts
-pkgver=0.02
+pkgver=0.06
 pkgrel=1
-pkgdesc="declare version conflicts for your dist"
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=('perl-list-moreutils>=0.12' 'perl-sub-exporter')
+pkgdesc="Declare version conflicts for your dist"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-list-moreutils>=0.12' 'perl-exporter')
 makedepends=('perl-extutils-makemaker>=6.31')
 checkdepends=('perl-test-fatal' 'perl-test-simple')
-url=https://metacpan.org/release/Dist-CheckConflicts
-source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-${pkgver}.tar.gz")
-md5sums=(64b8d342ba11336b2969c274a60bbc5f)
-sha512sums=(e3a342141b13e3604f226d53706fa50b6dc9f96c39ad9c83b074289aff852cbbab97bdf7d389d426116f609589e3d0282b033e79230a5a4ed8782e2b0e58426d)
-_distdir="${srcdir}/Dist-CheckConflicts-${pkgver}"
+url="https://metacpan.org/release/Dist-CheckConflicts"
+source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-$pkgver.tar.gz)
+md5sums=('510193204fb24e24779e86b490b2d713')
 
 build() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
-      PERL_AUTOINSTALL=--skipdeps                            \
-      PERL_MM_OPT="INSTALLDIRS=vendor"     \
-      PERL_MB_OPT="--installdirs vendor" \
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+      PERL_AUTOINSTALL=--skipdeps            \
+      PERL_MM_OPT="INSTALLDIRS=vendor"       \
+      PERL_MB_OPT="--installdirs vendor"     \
       MODULEBUILDRC=/dev/null
 
-    cd "$_distdir"
+    cd "Dist-CheckConflicts-$pkgver"
+
     /usr/bin/perl Makefile.PL
     make
   )
@@ -32,18 +32,15 @@
 
 check() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
+
+    cd "Dist-CheckConflicts-$pkgver"
+
     make test
   )
 }
 
 package() {
-    cd "$_distdir"
-    make DESTDIR="$pkgdir" install
+    cd "Dist-CheckConflicts-$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