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

Eric Bélanger eric at nymeria.archlinux.org
Wed Mar 20 22:27:40 UTC 2013


    Date: Wednesday, March 20, 2013 @ 23:27:40
  Author: eric
Revision: 180399

upgpkg: perl-test-pod 1.46-1

Upstream update, Add check function, PKGBUILD clean up

Modified:
  perl-test-pod/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-20 22:20:14 UTC (rev 180398)
+++ PKGBUILD	2013-03-20 22:27:40 UTC (rev 180399)
@@ -3,28 +3,29 @@
 # Contributor: Firmicus <francois.archlinux.org> 
 
 pkgname=perl-test-pod
-_realname=Test-Pod
-pkgver=1.45
+pkgver=1.46
 pkgrel=1
 pkgdesc="Check for POD errors in files"
 arch=('any')
-url="http://search.cpan.org/dist/${_realname}/"
+url="http://search.cpan.org/dist/Test-Pod/"
 license=('GPL' 'PerlArtistic')
 depends=('perl')
 options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/${_realname}-${pkgver}.tar.gz)
-md5sums=('089c8f272931df82f6c4d11a74f04628')
+source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-${pkgver}.tar.gz)
+md5sums=('fd76af5f32b4a5991a233ac9b1c4aaea')
 
 build() {
-  cd "${srcdir}/${_realname}-${pkgver}"
+  cd Test-Pod-${pkgver}
   perl Build.PL installdirs=vendor
   ./Build
 }
 
+check() {
+  cd Test-Pod-${pkgver}
+  ./Build test
+}
+
 package() {
-  cd "${srcdir}/${_realname}-${pkgver}"
+  cd Test-Pod-${pkgver}
   ./Build install destdir="${pkgdir}"
-
-  find "${pkgdir}" -name '.packlist' -delete
-  find "${pkgdir}" -name '*.pod' -delete
 }




More information about the arch-commits mailing list