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

Felix Yan felixonmars at archlinux.org
Sun Jul 10 12:44:19 UTC 2016


    Date: Sunday, July 10, 2016 @ 12:44:19
  Author: felixonmars
Revision: 182612

upgpkg: perl-graphviz 2.21-1

Modified:
  perl-graphviz/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-10 12:41:24 UTC (rev 182611)
+++ PKGBUILD	2016-07-10 12:44:19 UTC (rev 182612)
@@ -5,37 +5,34 @@
 # Contributor: Jason St. John <jstjohn .. purdue . edu>
 # Contributor: antoniolucas <antoniolucasnobar at gmail dot com>
 
-_perlmod=GraphViz
 pkgname=perl-graphviz
-pkgver=2.20
+pkgver=2.21
 pkgrel=1
 pkgdesc="GraphViz - Interface to AT&T's GraphViz. Deprecated. See GraphViz2"
 arch=('any')
-url="http://search.cpan.org/dist/$_perlmod"
+url="http://search.cpan.org/dist/GraphViz"
 license=('GPL' 'PerlArtistic')
 options=('!emptydirs')
 depends=('graphviz' 'perl-file-which' 'perl-ipc-run' 'perl-parse-recdescent'
-         'perl-xml-twig' 'perl-xml-xpath' 'perl-libwww')
-makedepends=('perl-module-build')
-checkdepends=('perl-test-pod')
-source=("https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/$_perlmod-$pkgver.tgz")
-md5sums=('714dedddd36d86950cd436d87d1d52b6')
+         'perl-xml-twig' 'perl-xml-xpath')
+checkdepends=('perl-test-pod' 'perl-test2-suite')
+source=("https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/GraphViz-$pkgver.tgz")
+md5sums=('bd5834fe41ace5e0ea5c24dd434cbeef')
 
 build() {
-  cd "$srcdir/$_perlmod-$pkgver"
-
-  perl Build.PL installdirs=vendor destdir="$pkgdir/"
-  perl Build
+  cd GraphViz-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
 }
 
 check() {
-  cd "$srcdir/$_perlmod-$pkgver"
-  perl Build test
+  cd GraphViz-$pkgver
+  make test
 }
 
 package() {
-  cd "$srcdir/$_perlmod-$pkgver"
-  perl Build install
+  cd GraphViz-$pkgver
+  make install DESTDIR="$pkgdir"
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list