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

Eric Bélanger eric at archlinux.org
Mon Oct 17 23:16:08 EDT 2011


    Date: Monday, October 17, 2011 @ 23:16:08
  Author: eric
Revision: 140681

upgpkg: perl-test-pod 1.45-1

Upstream update

Modified:
  perl-test-pod/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-18 03:11:21 UTC (rev 140680)
+++ PKGBUILD	2011-10-18 03:16:08 UTC (rev 140681)
@@ -4,25 +4,27 @@
 
 pkgname=perl-test-pod
 _realname=Test-Pod
-pkgver=1.44
+pkgver=1.45
 pkgrel=1
 pkgdesc="Check for POD errors in files"
-arch=(any)
+arch=('any')
+url="http://search.cpan.org/dist/${_realname}/"
 license=('GPL' 'PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
 depends=('perl')
-options=(!emptydirs)
+options=('!emptydirs')
 source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/${_realname}-${pkgver}.tar.gz)
-md5sums=('02380af5539521524d5df17273a57ae7')
+md5sums=('089c8f272931df82f6c4d11a74f04628')
 
 build() {
-  cd ${srcdir}/${_realname}-${pkgver}
+  cd "${srcdir}/${_realname}-${pkgver}"
+  perl Build.PL installdirs=vendor
+  ./Build
+}
 
-  perl Build.PL installdirs=vendor || return 1
-  ./Build || return 1
-  ./Build install destdir=$pkgdir || return 1
+package() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  ./Build install destdir="${pkgdir}"
 
-  find $startdir/pkg -name '.packlist' -delete
-  find $startdir/pkg -name '*.pod' -delete
+  find "${pkgdir}" -name '.packlist' -delete
+  find "${pkgdir}" -name '*.pod' -delete
 }
-# vim: ts=2 sw=2 et ft=sh



More information about the arch-commits mailing list